AWS SDK for C++  1.9.124
AWS SDK for C++
ListServerNeighborsResult.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 ApplicationDiscoveryService
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<NeighborConnectionDetail>& GetNeighbors() const{ return m_neighbors; }
41 
45  inline void SetNeighbors(const Aws::Vector<NeighborConnectionDetail>& value) { m_neighbors = value; }
46 
50  inline void SetNeighbors(Aws::Vector<NeighborConnectionDetail>&& value) { m_neighbors = std::move(value); }
51 
55  inline ListServerNeighborsResult& WithNeighbors(const Aws::Vector<NeighborConnectionDetail>& value) { SetNeighbors(value); return *this;}
56 
60  inline ListServerNeighborsResult& WithNeighbors(Aws::Vector<NeighborConnectionDetail>&& value) { SetNeighbors(std::move(value)); return *this;}
61 
65  inline ListServerNeighborsResult& AddNeighbors(const NeighborConnectionDetail& value) { m_neighbors.push_back(value); return *this; }
66 
70  inline ListServerNeighborsResult& AddNeighbors(NeighborConnectionDetail&& value) { m_neighbors.push_back(std::move(value)); return *this; }
71 
72 
80  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
81 
89  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 
98  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
99 
107  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
108 
116  inline ListServerNeighborsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117 
125  inline ListServerNeighborsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
126 
134  inline ListServerNeighborsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
135 
136 
140  inline long long GetKnownDependencyCount() const{ return m_knownDependencyCount; }
141 
145  inline void SetKnownDependencyCount(long long value) { m_knownDependencyCount = value; }
146 
150  inline ListServerNeighborsResult& WithKnownDependencyCount(long long value) { SetKnownDependencyCount(value); return *this;}
151 
152  private:
153 
155 
156  Aws::String m_nextToken;
157 
158  long long m_knownDependencyCount;
159  };
160 
161 } // namespace Model
162 } // namespace ApplicationDiscoveryService
163 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::WithNeighbors
ListServerNeighborsResult & WithNeighbors(Aws::Vector< NeighborConnectionDetail > &&value)
Definition: ListServerNeighborsResult.h:60
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::AddNeighbors
ListServerNeighborsResult & AddNeighbors(NeighborConnectionDetail &&value)
Definition: ListServerNeighborsResult.h:70
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::SetKnownDependencyCount
void SetKnownDependencyCount(long long value)
Definition: ListServerNeighborsResult.h:145
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::WithNextToken
ListServerNeighborsResult & WithNextToken(Aws::String &&value)
Definition: ListServerNeighborsResult.h:125
ApplicationDiscoveryService_EXPORTS.h
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::ListServerNeighborsResult
ListServerNeighborsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::GetNeighbors
const Aws::Vector< NeighborConnectionDetail > & GetNeighbors() const
Definition: ListServerNeighborsResult.h:40
AWSVector.h
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::ListServerNeighborsResult
ListServerNeighborsResult()
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::WithNextToken
ListServerNeighborsResult & WithNextToken(const char *value)
Definition: ListServerNeighborsResult.h:134
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::SetNeighbors
void SetNeighbors(Aws::Vector< NeighborConnectionDetail > &&value)
Definition: ListServerNeighborsResult.h:50
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::AddNeighbors
ListServerNeighborsResult & AddNeighbors(const NeighborConnectionDetail &value)
Definition: ListServerNeighborsResult.h:65
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult
Definition: ListServerNeighborsResult.h:30
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::GetKnownDependencyCount
long long GetKnownDependencyCount() const
Definition: ListServerNeighborsResult.h:140
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListServerNeighborsResult.h:89
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::operator=
ListServerNeighborsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
NeighborConnectionDetail.h
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::WithNeighbors
ListServerNeighborsResult & WithNeighbors(const Aws::Vector< NeighborConnectionDetail > &value)
Definition: ListServerNeighborsResult.h:55
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListServerNeighborsResult.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListServerNeighborsResult.h:107
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::WithNextToken
ListServerNeighborsResult & WithNextToken(const Aws::String &value)
Definition: ListServerNeighborsResult.h:116
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListServerNeighborsResult.h:98
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::SetNeighbors
void SetNeighbors(const Aws::Vector< NeighborConnectionDetail > &value)
Definition: ListServerNeighborsResult.h:45
Aws::ApplicationDiscoveryService::Model::ListServerNeighborsResult::WithKnownDependencyCount
ListServerNeighborsResult & WithKnownDependencyCount(long long value)
Definition: ListServerNeighborsResult.h:150
Aws::ApplicationDiscoveryService::Model::NeighborConnectionDetail
Definition: NeighborConnectionDetail.h:32
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28