AWS SDK for C++  1.9.124
AWS SDK for C++
DescribeDirectConnectGatewayAttachmentsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace DirectConnect
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<DirectConnectGatewayAttachment>& GetDirectConnectGatewayAttachments() const{ return m_directConnectGatewayAttachments; }
41 
45  inline void SetDirectConnectGatewayAttachments(const Aws::Vector<DirectConnectGatewayAttachment>& value) { m_directConnectGatewayAttachments = value; }
46 
50  inline void SetDirectConnectGatewayAttachments(Aws::Vector<DirectConnectGatewayAttachment>&& value) { m_directConnectGatewayAttachments = std::move(value); }
51 
55  inline DescribeDirectConnectGatewayAttachmentsResult& WithDirectConnectGatewayAttachments(const Aws::Vector<DirectConnectGatewayAttachment>& value) { SetDirectConnectGatewayAttachments(value); return *this;}
56 
60  inline DescribeDirectConnectGatewayAttachmentsResult& WithDirectConnectGatewayAttachments(Aws::Vector<DirectConnectGatewayAttachment>&& value) { SetDirectConnectGatewayAttachments(std::move(value)); return *this;}
61 
65  inline DescribeDirectConnectGatewayAttachmentsResult& AddDirectConnectGatewayAttachments(const DirectConnectGatewayAttachment& value) { m_directConnectGatewayAttachments.push_back(value); return *this; }
66 
70  inline DescribeDirectConnectGatewayAttachmentsResult& AddDirectConnectGatewayAttachments(DirectConnectGatewayAttachment&& value) { m_directConnectGatewayAttachments.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline DescribeDirectConnectGatewayAttachmentsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline DescribeDirectConnectGatewayAttachmentsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline DescribeDirectConnectGatewayAttachmentsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<DirectConnectGatewayAttachment> m_directConnectGatewayAttachments;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace DirectConnect
117 } // namespace Aws
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::AddDirectConnectGatewayAttachments
DescribeDirectConnectGatewayAttachmentsResult & AddDirectConnectGatewayAttachments(const DirectConnectGatewayAttachment &value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:65
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::WithDirectConnectGatewayAttachments
DescribeDirectConnectGatewayAttachmentsResult & WithDirectConnectGatewayAttachments(const Aws::Vector< DirectConnectGatewayAttachment > &value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:55
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:30
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::operator=
DescribeDirectConnectGatewayAttachmentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::SetDirectConnectGatewayAttachments
void SetDirectConnectGatewayAttachments(const Aws::Vector< DirectConnectGatewayAttachment > &value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:45
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::SetDirectConnectGatewayAttachments
void SetDirectConnectGatewayAttachments(Aws::Vector< DirectConnectGatewayAttachment > &&value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:50
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::DescribeDirectConnectGatewayAttachmentsResult
DescribeDirectConnectGatewayAttachmentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
DirectConnect_EXPORTS.h
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::WithNextToken
DescribeDirectConnectGatewayAttachmentsResult & WithNextToken(const Aws::String &value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:96
AWSVector.h
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:91
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:81
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::WithNextToken
DescribeDirectConnectGatewayAttachmentsResult & WithNextToken(const char *value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:106
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:76
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::WithNextToken
DescribeDirectConnectGatewayAttachmentsResult & WithNextToken(Aws::String &&value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:101
AWSString.h
Aws::DirectConnect::Model::DirectConnectGatewayAttachment
Definition: DirectConnectGatewayAttachment.h:35
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::GetDirectConnectGatewayAttachments
const Aws::Vector< DirectConnectGatewayAttachment > & GetDirectConnectGatewayAttachments() const
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:40
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::DescribeDirectConnectGatewayAttachmentsResult
DescribeDirectConnectGatewayAttachmentsResult()
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:86
Aws
Definition: AccessManagementClient.h:15
DirectConnectGatewayAttachment.h
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::AddDirectConnectGatewayAttachments
DescribeDirectConnectGatewayAttachmentsResult & AddDirectConnectGatewayAttachments(DirectConnectGatewayAttachment &&value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_DIRECTCONNECT_API
#define AWS_DIRECTCONNECT_API
Definition: DirectConnect_EXPORTS.h:28
Aws::DirectConnect::Model::DescribeDirectConnectGatewayAttachmentsResult::WithDirectConnectGatewayAttachments
DescribeDirectConnectGatewayAttachmentsResult & WithDirectConnectGatewayAttachments(Aws::Vector< DirectConnectGatewayAttachment > &&value)
Definition: DescribeDirectConnectGatewayAttachmentsResult.h:60