AWS SDK for C++  1.9.65
AWS SDK for C++
CreateTrafficMirrorTargetResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const TrafficMirrorTarget& GetTrafficMirrorTarget() const{ return m_trafficMirrorTarget; }
41 
45  inline void SetTrafficMirrorTarget(const TrafficMirrorTarget& value) { m_trafficMirrorTarget = value; }
46 
50  inline void SetTrafficMirrorTarget(TrafficMirrorTarget&& value) { m_trafficMirrorTarget = std::move(value); }
51 
55  inline CreateTrafficMirrorTargetResponse& WithTrafficMirrorTarget(const TrafficMirrorTarget& value) { SetTrafficMirrorTarget(value); return *this;}
56 
60  inline CreateTrafficMirrorTargetResponse& WithTrafficMirrorTarget(TrafficMirrorTarget&& value) { SetTrafficMirrorTarget(std::move(value)); return *this;}
61 
62 
69  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
70 
77  inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
78 
85  inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
86 
93  inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
94 
101  inline CreateTrafficMirrorTargetResponse& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
102 
109  inline CreateTrafficMirrorTargetResponse& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
110 
117  inline CreateTrafficMirrorTargetResponse& WithClientToken(const char* value) { SetClientToken(value); return *this;}
118 
119 
120 
121  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
122 
123 
124  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
125 
126 
127  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
128 
129 
130  inline CreateTrafficMirrorTargetResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
131 
132 
133  inline CreateTrafficMirrorTargetResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
134 
135  private:
136 
137  TrafficMirrorTarget m_trafficMirrorTarget;
138 
139  Aws::String m_clientToken;
140 
141  ResponseMetadata m_responseMetadata;
142  };
143 
144 } // namespace Model
145 } // namespace EC2
146 } // namespace Aws
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateTrafficMirrorTargetResponse.h:121
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::SetTrafficMirrorTarget
void SetTrafficMirrorTarget(TrafficMirrorTarget &&value)
Definition: CreateTrafficMirrorTargetResponse.h:50
Aws::EC2::Model::CreateTrafficMirrorTargetResponse
Definition: CreateTrafficMirrorTargetResponse.h:30
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::CreateTrafficMirrorTargetResponse
CreateTrafficMirrorTargetResponse()
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateTrafficMirrorTargetResponse.h:69
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::WithClientToken
CreateTrafficMirrorTargetResponse & WithClientToken(Aws::String &&value)
Definition: CreateTrafficMirrorTargetResponse.h:109
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::operator=
CreateTrafficMirrorTargetResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::WithTrafficMirrorTarget
CreateTrafficMirrorTargetResponse & WithTrafficMirrorTarget(const TrafficMirrorTarget &value)
Definition: CreateTrafficMirrorTargetResponse.h:55
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::GetTrafficMirrorTarget
const TrafficMirrorTarget & GetTrafficMirrorTarget() const
Definition: CreateTrafficMirrorTargetResponse.h:40
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateTrafficMirrorTargetResponse.h:77
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::WithResponseMetadata
CreateTrafficMirrorTargetResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateTrafficMirrorTargetResponse.h:133
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::SetClientToken
void SetClientToken(const char *value)
Definition: CreateTrafficMirrorTargetResponse.h:93
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::CreateTrafficMirrorTargetResponse
CreateTrafficMirrorTargetResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::WithClientToken
CreateTrafficMirrorTargetResponse & WithClientToken(const Aws::String &value)
Definition: CreateTrafficMirrorTargetResponse.h:101
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::SetTrafficMirrorTarget
void SetTrafficMirrorTarget(const TrafficMirrorTarget &value)
Definition: CreateTrafficMirrorTargetResponse.h:45
Aws::EC2::Model::TrafficMirrorTarget
Definition: TrafficMirrorTarget.h:35
TrafficMirrorTarget.h
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::WithResponseMetadata
CreateTrafficMirrorTargetResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateTrafficMirrorTargetResponse.h:130
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateTrafficMirrorTargetResponse.h:124
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateTrafficMirrorTargetResponse.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::WithTrafficMirrorTarget
CreateTrafficMirrorTargetResponse & WithTrafficMirrorTarget(TrafficMirrorTarget &&value)
Definition: CreateTrafficMirrorTargetResponse.h:60
EC2_EXPORTS.h
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::WithClientToken
CreateTrafficMirrorTargetResponse & WithClientToken(const char *value)
Definition: CreateTrafficMirrorTargetResponse.h:117
Aws::EC2::Model::CreateTrafficMirrorTargetResponse::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateTrafficMirrorTargetResponse.h:85