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