AWS SDK for C++  1.9.65
AWS SDK for C++
DeleteTrafficMirrorTargetResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace EC2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetTrafficMirrorTargetId() const{ return m_trafficMirrorTargetId; }
40 
44  inline void SetTrafficMirrorTargetId(const Aws::String& value) { m_trafficMirrorTargetId = value; }
45 
49  inline void SetTrafficMirrorTargetId(Aws::String&& value) { m_trafficMirrorTargetId = std::move(value); }
50 
54  inline void SetTrafficMirrorTargetId(const char* value) { m_trafficMirrorTargetId.assign(value); }
55 
59  inline DeleteTrafficMirrorTargetResponse& WithTrafficMirrorTargetId(const Aws::String& value) { SetTrafficMirrorTargetId(value); return *this;}
60 
64  inline DeleteTrafficMirrorTargetResponse& WithTrafficMirrorTargetId(Aws::String&& value) { SetTrafficMirrorTargetId(std::move(value)); return *this;}
65 
69  inline DeleteTrafficMirrorTargetResponse& WithTrafficMirrorTargetId(const char* value) { SetTrafficMirrorTargetId(value); return *this;}
70 
71 
72 
73  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
74 
75 
76  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
77 
78 
79  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
80 
81 
82  inline DeleteTrafficMirrorTargetResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
83 
84 
85  inline DeleteTrafficMirrorTargetResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
86 
87  private:
88 
89  Aws::String m_trafficMirrorTargetId;
90 
91  ResponseMetadata m_responseMetadata;
92  };
93 
94 } // namespace Model
95 } // namespace EC2
96 } // namespace Aws
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::SetTrafficMirrorTargetId
void SetTrafficMirrorTargetId(const char *value)
Definition: DeleteTrafficMirrorTargetResponse.h:54
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DeleteTrafficMirrorTargetResponse.h:73
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::WithTrafficMirrorTargetId
DeleteTrafficMirrorTargetResponse & WithTrafficMirrorTargetId(const char *value)
Definition: DeleteTrafficMirrorTargetResponse.h:69
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse
Definition: DeleteTrafficMirrorTargetResponse.h:29
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::WithTrafficMirrorTargetId
DeleteTrafficMirrorTargetResponse & WithTrafficMirrorTargetId(Aws::String &&value)
Definition: DeleteTrafficMirrorTargetResponse.h:64
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::GetTrafficMirrorTargetId
const Aws::String & GetTrafficMirrorTargetId() const
Definition: DeleteTrafficMirrorTargetResponse.h:39
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::WithResponseMetadata
DeleteTrafficMirrorTargetResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DeleteTrafficMirrorTargetResponse.h:82
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::SetTrafficMirrorTargetId
void SetTrafficMirrorTargetId(const Aws::String &value)
Definition: DeleteTrafficMirrorTargetResponse.h:44
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DeleteTrafficMirrorTargetResponse.h:79
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::WithResponseMetadata
DeleteTrafficMirrorTargetResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DeleteTrafficMirrorTargetResponse.h:85
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::WithTrafficMirrorTargetId
DeleteTrafficMirrorTargetResponse & WithTrafficMirrorTargetId(const Aws::String &value)
Definition: DeleteTrafficMirrorTargetResponse.h:59
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DeleteTrafficMirrorTargetResponse.h:76
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::DeleteTrafficMirrorTargetResponse
DeleteTrafficMirrorTargetResponse()
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::operator=
DeleteTrafficMirrorTargetResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::SetTrafficMirrorTargetId
void SetTrafficMirrorTargetId(Aws::String &&value)
Definition: DeleteTrafficMirrorTargetResponse.h:49
Aws::EC2::Model::DeleteTrafficMirrorTargetResponse::DeleteTrafficMirrorTargetResponse
DeleteTrafficMirrorTargetResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EC2_EXPORTS.h