AWS SDK for C++  1.9.71
AWS SDK for C++
ListConfigsResult.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 GroundStation
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<ConfigListItem>& GetConfigList() const{ return m_configList; }
46 
50  inline void SetConfigList(const Aws::Vector<ConfigListItem>& value) { m_configList = value; }
51 
55  inline void SetConfigList(Aws::Vector<ConfigListItem>&& value) { m_configList = std::move(value); }
56 
60  inline ListConfigsResult& WithConfigList(const Aws::Vector<ConfigListItem>& value) { SetConfigList(value); return *this;}
61 
65  inline ListConfigsResult& WithConfigList(Aws::Vector<ConfigListItem>&& value) { SetConfigList(std::move(value)); return *this;}
66 
70  inline ListConfigsResult& AddConfigList(const ConfigListItem& value) { m_configList.push_back(value); return *this; }
71 
75  inline ListConfigsResult& AddConfigList(ConfigListItem&& value) { m_configList.push_back(std::move(value)); return *this; }
76 
77 
82  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 
88  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 
94  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
95 
100  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
101 
106  inline ListConfigsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
112  inline ListConfigsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 
118  inline ListConfigsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119 
120  private:
121 
122  Aws::Vector<ConfigListItem> m_configList;
123 
124  Aws::String m_nextToken;
125  };
126 
127 } // namespace Model
128 } // namespace GroundStation
129 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GroundStation::Model::ListConfigsResult::AddConfigList
ListConfigsResult & AddConfigList(ConfigListItem &&value)
Definition: ListConfigsResult.h:75
Aws::GroundStation::Model::ListConfigsResult::operator=
ListConfigsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GroundStation::Model::ListConfigsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListConfigsResult.h:82
Aws::GroundStation::Model::ListConfigsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListConfigsResult.h:100
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GroundStation::Model::ListConfigsResult::WithNextToken
ListConfigsResult & WithNextToken(const Aws::String &value)
Definition: ListConfigsResult.h:106
Aws::GroundStation::Model::ListConfigsResult::WithNextToken
ListConfigsResult & WithNextToken(const char *value)
Definition: ListConfigsResult.h:118
AWSVector.h
Aws::GroundStation::Model::ConfigListItem
Definition: ConfigListItem.h:34
Aws::GroundStation::Model::ListConfigsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListConfigsResult.h:88
GroundStation_EXPORTS.h
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
AWSString.h
Aws::GroundStation::Model::ListConfigsResult
Definition: ListConfigsResult.h:35
Aws::GroundStation::Model::ListConfigsResult::ListConfigsResult
ListConfigsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GroundStation::Model::ListConfigsResult::ListConfigsResult
ListConfigsResult()
Aws::GroundStation::Model::ListConfigsResult::SetConfigList
void SetConfigList(Aws::Vector< ConfigListItem > &&value)
Definition: ListConfigsResult.h:55
Aws::GroundStation::Model::ListConfigsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListConfigsResult.h:94
Aws::GroundStation::Model::ListConfigsResult::AddConfigList
ListConfigsResult & AddConfigList(const ConfigListItem &value)
Definition: ListConfigsResult.h:70
Aws::GroundStation::Model::ListConfigsResult::SetConfigList
void SetConfigList(const Aws::Vector< ConfigListItem > &value)
Definition: ListConfigsResult.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::ListConfigsResult::WithConfigList
ListConfigsResult & WithConfigList(Aws::Vector< ConfigListItem > &&value)
Definition: ListConfigsResult.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::ListConfigsResult::GetConfigList
const Aws::Vector< ConfigListItem > & GetConfigList() const
Definition: ListConfigsResult.h:45
ConfigListItem.h
Aws::GroundStation::Model::ListConfigsResult::WithConfigList
ListConfigsResult & WithConfigList(const Aws::Vector< ConfigListItem > &value)
Definition: ListConfigsResult.h:60
Aws::GroundStation::Model::ListConfigsResult::WithNextToken
ListConfigsResult & WithNextToken(Aws::String &&value)
Definition: ListConfigsResult.h:112