Skip to content

Commit d6c0cf9

Browse files
author
aws-sdk-cpp-automation
committed
This release of EC2 VM Import Export adds support for exporting Amazon Machine Image(AMI)s to a VM file
Adds optional Constant Initialization Vector (IV) to HLS Encryption for MediaPackage VOD. Amazon Transcribe - support transcriptions from audio sources in Russian (ru-RU) and Chinese (zh-CN).
1 parent 0dad0a2 commit d6c0cf9

31 files changed

+3282
-168
lines changed

aws-cpp-sdk-core/include/aws/core/VersionConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
* permissions and limitations under the License.
1414
*/
1515

16-
#define AWS_SDK_VERSION_STRING "1.7.168"
16+
#define AWS_SDK_VERSION_STRING "1.7.169"

aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h

Lines changed: 131 additions & 54 deletions
Large diffs are not rendered by default.

aws-cpp-sdk-ec2/include/aws/ec2/model/CpuOptionsRequest.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,30 +70,30 @@ namespace Model
7070

7171

7272
/**
73-
* <p>The number of threads per CPU core. To disable Intel Hyper-Threading
74-
* Technology for the instance, specify a value of <code>1</code>. Otherwise,
75-
* specify the default value of <code>2</code>.</p>
73+
* <p>The number of threads per CPU core. To disable multithreading for the
74+
* instance, specify a value of <code>1</code>. Otherwise, specify the default
75+
* value of <code>2</code>.</p>
7676
*/
7777
inline int GetThreadsPerCore() const{ return m_threadsPerCore; }
7878

7979
/**
80-
* <p>The number of threads per CPU core. To disable Intel Hyper-Threading
81-
* Technology for the instance, specify a value of <code>1</code>. Otherwise,
82-
* specify the default value of <code>2</code>.</p>
80+
* <p>The number of threads per CPU core. To disable multithreading for the
81+
* instance, specify a value of <code>1</code>. Otherwise, specify the default
82+
* value of <code>2</code>.</p>
8383
*/
8484
inline bool ThreadsPerCoreHasBeenSet() const { return m_threadsPerCoreHasBeenSet; }
8585

8686
/**
87-
* <p>The number of threads per CPU core. To disable Intel Hyper-Threading
88-
* Technology for the instance, specify a value of <code>1</code>. Otherwise,
89-
* specify the default value of <code>2</code>.</p>
87+
* <p>The number of threads per CPU core. To disable multithreading for the
88+
* instance, specify a value of <code>1</code>. Otherwise, specify the default
89+
* value of <code>2</code>.</p>
9090
*/
9191
inline void SetThreadsPerCore(int value) { m_threadsPerCoreHasBeenSet = true; m_threadsPerCore = value; }
9292

9393
/**
94-
* <p>The number of threads per CPU core. To disable Intel Hyper-Threading
95-
* Technology for the instance, specify a value of <code>1</code>. Otherwise,
96-
* specify the default value of <code>2</code>.</p>
94+
* <p>The number of threads per CPU core. To disable multithreading for the
95+
* instance, specify a value of <code>1</code>. Otherwise, specify the default
96+
* value of <code>2</code>.</p>
9797
*/
9898
inline CpuOptionsRequest& WithThreadsPerCore(int value) { SetThreadsPerCore(value); return *this;}
9999

Lines changed: 268 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,268 @@
1+
/*
2+
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
#pragma once
17+
#include <aws/ec2/EC2_EXPORTS.h>
18+
#include <aws/ec2/EC2Request.h>
19+
#include <aws/core/utils/memory/stl/AWSVector.h>
20+
#include <aws/core/utils/memory/stl/AWSString.h>
21+
#include <aws/ec2/model/Filter.h>
22+
#include <utility>
23+
24+
namespace Aws
25+
{
26+
namespace EC2
27+
{
28+
namespace Model
29+
{
30+
31+
/**
32+
*/
33+
class AWS_EC2_API DescribeExportImageTasksRequest : public EC2Request
34+
{
35+
public:
36+
DescribeExportImageTasksRequest();
37+
38+
// Service request name is the Operation name which will send this request out,
39+
// each operation should has unique request name, so that we can get operation's name from this request.
40+
// Note: this is not true for response, multiple operations may have the same response name,
41+
// so we can not get operation's name from response.
42+
inline virtual const char* GetServiceRequestName() const override { return "DescribeExportImageTasks"; }
43+
44+
Aws::String SerializePayload() const override;
45+
46+
protected:
47+
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
48+
49+
public:
50+
51+
/**
52+
* <p>Checks whether you have the required permissions for the action, without
53+
* actually making the request, and provides an error response. If you have the
54+
* required permissions, the error response is <code>DryRunOperation</code>.
55+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
56+
*/
57+
inline bool GetDryRun() const{ return m_dryRun; }
58+
59+
/**
60+
* <p>Checks whether you have the required permissions for the action, without
61+
* actually making the request, and provides an error response. If you have the
62+
* required permissions, the error response is <code>DryRunOperation</code>.
63+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
64+
*/
65+
inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
66+
67+
/**
68+
* <p>Checks whether you have the required permissions for the action, without
69+
* actually making the request, and provides an error response. If you have the
70+
* required permissions, the error response is <code>DryRunOperation</code>.
71+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
72+
*/
73+
inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
74+
75+
/**
76+
* <p>Checks whether you have the required permissions for the action, without
77+
* actually making the request, and provides an error response. If you have the
78+
* required permissions, the error response is <code>DryRunOperation</code>.
79+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
80+
*/
81+
inline DescribeExportImageTasksRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
82+
83+
84+
/**
85+
* <p>Filter tasks using the <code>task-state</code> filter and one of the
86+
* following values: <code>active</code>, <code>completed</code>,
87+
* <code>deleting</code>, or <code>deleted</code>.</p>
88+
*/
89+
inline const Aws::Vector<Filter>& GetFilters() const{ return m_filters; }
90+
91+
/**
92+
* <p>Filter tasks using the <code>task-state</code> filter and one of the
93+
* following values: <code>active</code>, <code>completed</code>,
94+
* <code>deleting</code>, or <code>deleted</code>.</p>
95+
*/
96+
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
97+
98+
/**
99+
* <p>Filter tasks using the <code>task-state</code> filter and one of the
100+
* following values: <code>active</code>, <code>completed</code>,
101+
* <code>deleting</code>, or <code>deleted</code>.</p>
102+
*/
103+
inline void SetFilters(const Aws::Vector<Filter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
104+
105+
/**
106+
* <p>Filter tasks using the <code>task-state</code> filter and one of the
107+
* following values: <code>active</code>, <code>completed</code>,
108+
* <code>deleting</code>, or <code>deleted</code>.</p>
109+
*/
110+
inline void SetFilters(Aws::Vector<Filter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
111+
112+
/**
113+
* <p>Filter tasks using the <code>task-state</code> filter and one of the
114+
* following values: <code>active</code>, <code>completed</code>,
115+
* <code>deleting</code>, or <code>deleted</code>.</p>
116+
*/
117+
inline DescribeExportImageTasksRequest& WithFilters(const Aws::Vector<Filter>& value) { SetFilters(value); return *this;}
118+
119+
/**
120+
* <p>Filter tasks using the <code>task-state</code> filter and one of the
121+
* following values: <code>active</code>, <code>completed</code>,
122+
* <code>deleting</code>, or <code>deleted</code>.</p>
123+
*/
124+
inline DescribeExportImageTasksRequest& WithFilters(Aws::Vector<Filter>&& value) { SetFilters(std::move(value)); return *this;}
125+
126+
/**
127+
* <p>Filter tasks using the <code>task-state</code> filter and one of the
128+
* following values: <code>active</code>, <code>completed</code>,
129+
* <code>deleting</code>, or <code>deleted</code>.</p>
130+
*/
131+
inline DescribeExportImageTasksRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
132+
133+
/**
134+
* <p>Filter tasks using the <code>task-state</code> filter and one of the
135+
* following values: <code>active</code>, <code>completed</code>,
136+
* <code>deleting</code>, or <code>deleted</code>.</p>
137+
*/
138+
inline DescribeExportImageTasksRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
139+
140+
141+
/**
142+
* <p>The IDs of the export image tasks.</p>
143+
*/
144+
inline const Aws::Vector<Aws::String>& GetExportImageTaskIds() const{ return m_exportImageTaskIds; }
145+
146+
/**
147+
* <p>The IDs of the export image tasks.</p>
148+
*/
149+
inline bool ExportImageTaskIdsHasBeenSet() const { return m_exportImageTaskIdsHasBeenSet; }
150+
151+
/**
152+
* <p>The IDs of the export image tasks.</p>
153+
*/
154+
inline void SetExportImageTaskIds(const Aws::Vector<Aws::String>& value) { m_exportImageTaskIdsHasBeenSet = true; m_exportImageTaskIds = value; }
155+
156+
/**
157+
* <p>The IDs of the export image tasks.</p>
158+
*/
159+
inline void SetExportImageTaskIds(Aws::Vector<Aws::String>&& value) { m_exportImageTaskIdsHasBeenSet = true; m_exportImageTaskIds = std::move(value); }
160+
161+
/**
162+
* <p>The IDs of the export image tasks.</p>
163+
*/
164+
inline DescribeExportImageTasksRequest& WithExportImageTaskIds(const Aws::Vector<Aws::String>& value) { SetExportImageTaskIds(value); return *this;}
165+
166+
/**
167+
* <p>The IDs of the export image tasks.</p>
168+
*/
169+
inline DescribeExportImageTasksRequest& WithExportImageTaskIds(Aws::Vector<Aws::String>&& value) { SetExportImageTaskIds(std::move(value)); return *this;}
170+
171+
/**
172+
* <p>The IDs of the export image tasks.</p>
173+
*/
174+
inline DescribeExportImageTasksRequest& AddExportImageTaskIds(const Aws::String& value) { m_exportImageTaskIdsHasBeenSet = true; m_exportImageTaskIds.push_back(value); return *this; }
175+
176+
/**
177+
* <p>The IDs of the export image tasks.</p>
178+
*/
179+
inline DescribeExportImageTasksRequest& AddExportImageTaskIds(Aws::String&& value) { m_exportImageTaskIdsHasBeenSet = true; m_exportImageTaskIds.push_back(std::move(value)); return *this; }
180+
181+
/**
182+
* <p>The IDs of the export image tasks.</p>
183+
*/
184+
inline DescribeExportImageTasksRequest& AddExportImageTaskIds(const char* value) { m_exportImageTaskIdsHasBeenSet = true; m_exportImageTaskIds.push_back(value); return *this; }
185+
186+
187+
/**
188+
* <p>The maximum number of results to return in a single call.</p>
189+
*/
190+
inline int GetMaxResults() const{ return m_maxResults; }
191+
192+
/**
193+
* <p>The maximum number of results to return in a single call.</p>
194+
*/
195+
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
196+
197+
/**
198+
* <p>The maximum number of results to return in a single call.</p>
199+
*/
200+
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
201+
202+
/**
203+
* <p>The maximum number of results to return in a single call.</p>
204+
*/
205+
inline DescribeExportImageTasksRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
206+
207+
208+
/**
209+
* <p>A token that indicates the next page of results.</p>
210+
*/
211+
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
212+
213+
/**
214+
* <p>A token that indicates the next page of results.</p>
215+
*/
216+
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
217+
218+
/**
219+
* <p>A token that indicates the next page of results.</p>
220+
*/
221+
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
222+
223+
/**
224+
* <p>A token that indicates the next page of results.</p>
225+
*/
226+
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
227+
228+
/**
229+
* <p>A token that indicates the next page of results.</p>
230+
*/
231+
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
232+
233+
/**
234+
* <p>A token that indicates the next page of results.</p>
235+
*/
236+
inline DescribeExportImageTasksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
237+
238+
/**
239+
* <p>A token that indicates the next page of results.</p>
240+
*/
241+
inline DescribeExportImageTasksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
242+
243+
/**
244+
* <p>A token that indicates the next page of results.</p>
245+
*/
246+
inline DescribeExportImageTasksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
247+
248+
private:
249+
250+
bool m_dryRun;
251+
bool m_dryRunHasBeenSet;
252+
253+
Aws::Vector<Filter> m_filters;
254+
bool m_filtersHasBeenSet;
255+
256+
Aws::Vector<Aws::String> m_exportImageTaskIds;
257+
bool m_exportImageTaskIdsHasBeenSet;
258+
259+
int m_maxResults;
260+
bool m_maxResultsHasBeenSet;
261+
262+
Aws::String m_nextToken;
263+
bool m_nextTokenHasBeenSet;
264+
};
265+
266+
} // namespace Model
267+
} // namespace EC2
268+
} // namespace Aws

0 commit comments

Comments
 (0)