AWS SDK for C++  1.8.126
AWS SDK for C++
ListDiscoverersResult.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 Schemas
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<DiscovererSummary>& GetDiscoverers() const{ return m_discoverers; }
41 
45  inline void SetDiscoverers(const Aws::Vector<DiscovererSummary>& value) { m_discoverers = value; }
46 
50  inline void SetDiscoverers(Aws::Vector<DiscovererSummary>&& value) { m_discoverers = std::move(value); }
51 
55  inline ListDiscoverersResult& WithDiscoverers(const Aws::Vector<DiscovererSummary>& value) { SetDiscoverers(value); return *this;}
56 
60  inline ListDiscoverersResult& WithDiscoverers(Aws::Vector<DiscovererSummary>&& value) { SetDiscoverers(std::move(value)); return *this;}
61 
65  inline ListDiscoverersResult& AddDiscoverers(const DiscovererSummary& value) { m_discoverers.push_back(value); return *this; }
66 
70  inline ListDiscoverersResult& AddDiscoverers(DiscovererSummary&& value) { m_discoverers.push_back(std::move(value)); return *this; }
71 
72 
78  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 
85  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
86 
92  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
93 
99  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
100 
106  inline ListDiscoverersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
113  inline ListDiscoverersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
120  inline ListDiscoverersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<DiscovererSummary> m_discoverers;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace Schemas
131 } // namespace Aws
Aws::Schemas::Model::ListDiscoverersResult::WithNextToken
ListDiscoverersResult & WithNextToken(Aws::String &&value)
Definition: ListDiscoverersResult.h:113
Aws::Schemas::Model::ListDiscoverersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDiscoverersResult.h:85
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Schemas::Model::ListDiscoverersResult::WithNextToken
ListDiscoverersResult & WithNextToken(const Aws::String &value)
Definition: ListDiscoverersResult.h:106
Aws::Schemas::Model::ListDiscoverersResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDiscoverersResult.h:99
Aws::Schemas::Model::ListDiscoverersResult::AddDiscoverers
ListDiscoverersResult & AddDiscoverers(const DiscovererSummary &value)
Definition: ListDiscoverersResult.h:65
Aws::Schemas::Model::ListDiscoverersResult::SetDiscoverers
void SetDiscoverers(Aws::Vector< DiscovererSummary > &&value)
Definition: ListDiscoverersResult.h:50
Aws::Schemas::Model::ListDiscoverersResult::AddDiscoverers
ListDiscoverersResult & AddDiscoverers(DiscovererSummary &&value)
Definition: ListDiscoverersResult.h:70
Aws::Schemas::Model::ListDiscoverersResult::WithNextToken
ListDiscoverersResult & WithNextToken(const char *value)
Definition: ListDiscoverersResult.h:120
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Schemas::Model::ListDiscoverersResult::operator=
ListDiscoverersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Schemas::Model::ListDiscoverersResult::GetDiscoverers
const Aws::Vector< DiscovererSummary > & GetDiscoverers() const
Definition: ListDiscoverersResult.h:40
Schemas_EXPORTS.h
DiscovererSummary.h
Aws::Schemas::Model::ListDiscoverersResult
Definition: ListDiscoverersResult.h:30
Aws::Schemas::Model::ListDiscoverersResult::ListDiscoverersResult
ListDiscoverersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::Schemas::Model::ListDiscoverersResult::WithDiscoverers
ListDiscoverersResult & WithDiscoverers(const Aws::Vector< DiscovererSummary > &value)
Definition: ListDiscoverersResult.h:55
Aws::Schemas::Model::ListDiscoverersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDiscoverersResult.h:92
Aws::Schemas::Model::ListDiscoverersResult::SetDiscoverers
void SetDiscoverers(const Aws::Vector< DiscovererSummary > &value)
Definition: ListDiscoverersResult.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::ListDiscoverersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDiscoverersResult.h:78
Aws::Schemas::Model::ListDiscoverersResult::WithDiscoverers
ListDiscoverersResult & WithDiscoverers(Aws::Vector< DiscovererSummary > &&value)
Definition: ListDiscoverersResult.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::DiscovererSummary
Definition: DiscovererSummary.h:29
Aws::Schemas::Model::ListDiscoverersResult::ListDiscoverersResult
ListDiscoverersResult()