AWS SDK for C++  1.9.70
AWS SDK for C++
DescribeConversionTasksRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace EC2
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeConversionTasks"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
43  inline const Aws::Vector<Aws::String>& GetConversionTaskIds() const{ return m_conversionTaskIds; }
44 
48  inline bool ConversionTaskIdsHasBeenSet() const { return m_conversionTaskIdsHasBeenSet; }
49 
53  inline void SetConversionTaskIds(const Aws::Vector<Aws::String>& value) { m_conversionTaskIdsHasBeenSet = true; m_conversionTaskIds = value; }
54 
58  inline void SetConversionTaskIds(Aws::Vector<Aws::String>&& value) { m_conversionTaskIdsHasBeenSet = true; m_conversionTaskIds = std::move(value); }
59 
63  inline DescribeConversionTasksRequest& WithConversionTaskIds(const Aws::Vector<Aws::String>& value) { SetConversionTaskIds(value); return *this;}
64 
68  inline DescribeConversionTasksRequest& WithConversionTaskIds(Aws::Vector<Aws::String>&& value) { SetConversionTaskIds(std::move(value)); return *this;}
69 
73  inline DescribeConversionTasksRequest& AddConversionTaskIds(const Aws::String& value) { m_conversionTaskIdsHasBeenSet = true; m_conversionTaskIds.push_back(value); return *this; }
74 
78  inline DescribeConversionTasksRequest& AddConversionTaskIds(Aws::String&& value) { m_conversionTaskIdsHasBeenSet = true; m_conversionTaskIds.push_back(std::move(value)); return *this; }
79 
83  inline DescribeConversionTasksRequest& AddConversionTaskIds(const char* value) { m_conversionTaskIdsHasBeenSet = true; m_conversionTaskIds.push_back(value); return *this; }
84 
85 
92  inline bool GetDryRun() const{ return m_dryRun; }
93 
100  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
101 
108  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
109 
116  inline DescribeConversionTasksRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
117 
118  private:
119 
120  Aws::Vector<Aws::String> m_conversionTaskIds;
121  bool m_conversionTaskIdsHasBeenSet;
122 
123  bool m_dryRun;
124  bool m_dryRunHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace EC2
129 } // namespace Aws
Aws::EC2::Model::DescribeConversionTasksRequest::WithConversionTaskIds
DescribeConversionTasksRequest & WithConversionTaskIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeConversionTasksRequest.h:63
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeConversionTasksRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeConversionTasksRequest.h:100
Aws::EC2::Model::DescribeConversionTasksRequest::AddConversionTaskIds
DescribeConversionTasksRequest & AddConversionTaskIds(const Aws::String &value)
Definition: DescribeConversionTasksRequest.h:73
Aws::EC2::Model::DescribeConversionTasksRequest::SetConversionTaskIds
void SetConversionTaskIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeConversionTasksRequest.h:58
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeConversionTasksRequest::AddConversionTaskIds
DescribeConversionTasksRequest & AddConversionTaskIds(Aws::String &&value)
Definition: DescribeConversionTasksRequest.h:78
Aws::EC2::Model::DescribeConversionTasksRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::EC2::Model::DescribeConversionTasksRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeConversionTasksRequest::GetConversionTaskIds
const Aws::Vector< Aws::String > & GetConversionTaskIds() const
Definition: DescribeConversionTasksRequest.h:43
Aws::EC2::Model::DescribeConversionTasksRequest::AddConversionTaskIds
DescribeConversionTasksRequest & AddConversionTaskIds(const char *value)
Definition: DescribeConversionTasksRequest.h:83
Aws::EC2::Model::DescribeConversionTasksRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeConversionTasksRequest.h:108
Aws::EC2::Model::DescribeConversionTasksRequest::WithConversionTaskIds
DescribeConversionTasksRequest & WithConversionTaskIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeConversionTasksRequest.h:68
EC2Request.h
Aws::EC2::Model::DescribeConversionTasksRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeConversionTasksRequest.h:31
AWSString.h
Aws::EC2::Model::DescribeConversionTasksRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeConversionTasksRequest.h:92
Aws::EC2::Model::DescribeConversionTasksRequest::DescribeConversionTasksRequest
DescribeConversionTasksRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DescribeConversionTasksRequest
Definition: DescribeConversionTasksRequest.h:23
Aws::EC2::Model::DescribeConversionTasksRequest::SetConversionTaskIds
void SetConversionTaskIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeConversionTasksRequest.h:53
Aws::EC2::Model::DescribeConversionTasksRequest::ConversionTaskIdsHasBeenSet
bool ConversionTaskIdsHasBeenSet() const
Definition: DescribeConversionTasksRequest.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DescribeConversionTasksRequest::WithDryRun
DescribeConversionTasksRequest & WithDryRun(bool value)
Definition: DescribeConversionTasksRequest.h:116
EC2_EXPORTS.h