AWS SDK for C++  1.9.66
AWS SDK for C++
CreateTrafficMirrorFilterResponse.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 TrafficMirrorFilter& GetTrafficMirrorFilter() const{ return m_trafficMirrorFilter; }
41 
45  inline void SetTrafficMirrorFilter(const TrafficMirrorFilter& value) { m_trafficMirrorFilter = value; }
46 
50  inline void SetTrafficMirrorFilter(TrafficMirrorFilter&& value) { m_trafficMirrorFilter = std::move(value); }
51 
55  inline CreateTrafficMirrorFilterResponse& WithTrafficMirrorFilter(const TrafficMirrorFilter& value) { SetTrafficMirrorFilter(value); return *this;}
56 
60  inline CreateTrafficMirrorFilterResponse& WithTrafficMirrorFilter(TrafficMirrorFilter&& value) { SetTrafficMirrorFilter(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 CreateTrafficMirrorFilterResponse& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
102 
109  inline CreateTrafficMirrorFilterResponse& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
110 
117  inline CreateTrafficMirrorFilterResponse& 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 CreateTrafficMirrorFilterResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
131 
132 
133  inline CreateTrafficMirrorFilterResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
134 
135  private:
136 
137  TrafficMirrorFilter m_trafficMirrorFilter;
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::CreateTrafficMirrorFilterResponse::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateTrafficMirrorFilterResponse.h:85
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
TrafficMirrorFilter.h
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::CreateTrafficMirrorFilterResponse
CreateTrafficMirrorFilterResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::WithClientToken
CreateTrafficMirrorFilterResponse & WithClientToken(const Aws::String &value)
Definition: CreateTrafficMirrorFilterResponse.h:101
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateTrafficMirrorFilterResponse.h:69
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::SetClientToken
void SetClientToken(const char *value)
Definition: CreateTrafficMirrorFilterResponse.h:93
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::operator=
CreateTrafficMirrorFilterResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateTrafficMirrorFilterResponse.h:127
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::SetTrafficMirrorFilter
void SetTrafficMirrorFilter(TrafficMirrorFilter &&value)
Definition: CreateTrafficMirrorFilterResponse.h:50
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateTrafficMirrorFilterResponse.h:124
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::WithClientToken
CreateTrafficMirrorFilterResponse & WithClientToken(const char *value)
Definition: CreateTrafficMirrorFilterResponse.h:117
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::WithResponseMetadata
CreateTrafficMirrorFilterResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateTrafficMirrorFilterResponse.h:133
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::GetTrafficMirrorFilter
const TrafficMirrorFilter & GetTrafficMirrorFilter() const
Definition: CreateTrafficMirrorFilterResponse.h:40
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::WithClientToken
CreateTrafficMirrorFilterResponse & WithClientToken(Aws::String &&value)
Definition: CreateTrafficMirrorFilterResponse.h:109
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateTrafficMirrorFilterResponse.h:121
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::CreateTrafficMirrorFilterResponse
CreateTrafficMirrorFilterResponse()
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::WithTrafficMirrorFilter
CreateTrafficMirrorFilterResponse & WithTrafficMirrorFilter(const TrafficMirrorFilter &value)
Definition: CreateTrafficMirrorFilterResponse.h:55
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::WithTrafficMirrorFilter
CreateTrafficMirrorFilterResponse & WithTrafficMirrorFilter(TrafficMirrorFilter &&value)
Definition: CreateTrafficMirrorFilterResponse.h:60
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::SetTrafficMirrorFilter
void SetTrafficMirrorFilter(const TrafficMirrorFilter &value)
Definition: CreateTrafficMirrorFilterResponse.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateTrafficMirrorFilterResponse.h:77
Aws::EC2::Model::CreateTrafficMirrorFilterResponse::WithResponseMetadata
CreateTrafficMirrorFilterResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateTrafficMirrorFilterResponse.h:130
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::TrafficMirrorFilter
Definition: TrafficMirrorFilter.h:36
EC2_EXPORTS.h
Aws::EC2::Model::CreateTrafficMirrorFilterResponse
Definition: CreateTrafficMirrorFilterResponse.h:30