AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTrafficMirrorSessionResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/TrafficMirrorSession.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const TrafficMirrorSession& GetTrafficMirrorSession() const{ return m_trafficMirrorSession; }
42 inline void SetTrafficMirrorSession(const TrafficMirrorSession& value) { m_trafficMirrorSession = value; }
43 inline void SetTrafficMirrorSession(TrafficMirrorSession&& value) { m_trafficMirrorSession = std::move(value); }
47
49
55 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
56 inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
57 inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
58 inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
60 inline CreateTrafficMirrorSessionResponse& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
61 inline CreateTrafficMirrorSessionResponse& WithClientToken(const char* value) { SetClientToken(value); return *this;}
63
65
66 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
67 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
68 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
72 private:
73
74 TrafficMirrorSession m_trafficMirrorSession;
75
76 Aws::String m_clientToken;
77
78 ResponseMetadata m_responseMetadata;
79 };
80
81} // namespace Model
82} // namespace EC2
83} // namespace Aws
CreateTrafficMirrorSessionResponse & WithTrafficMirrorSession(TrafficMirrorSession &&value)
CreateTrafficMirrorSessionResponse & WithClientToken(const char *value)
CreateTrafficMirrorSessionResponse & WithResponseMetadata(const ResponseMetadata &value)
CreateTrafficMirrorSessionResponse & WithResponseMetadata(ResponseMetadata &&value)
AWS_EC2_API CreateTrafficMirrorSessionResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateTrafficMirrorSessionResponse & WithClientToken(Aws::String &&value)
CreateTrafficMirrorSessionResponse & WithTrafficMirrorSession(const TrafficMirrorSession &value)
AWS_EC2_API CreateTrafficMirrorSessionResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateTrafficMirrorSessionResponse & WithClientToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument