AWS SDK for C++  1.9.104
AWS SDK for C++
ListAssociatedResourcesResult.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 AppRegistry
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<ResourceInfo>& GetResources() const{ return m_resources; }
41 
45  inline void SetResources(const Aws::Vector<ResourceInfo>& value) { m_resources = value; }
46 
50  inline void SetResources(Aws::Vector<ResourceInfo>&& value) { m_resources = std::move(value); }
51 
55  inline ListAssociatedResourcesResult& WithResources(const Aws::Vector<ResourceInfo>& value) { SetResources(value); return *this;}
56 
60  inline ListAssociatedResourcesResult& WithResources(Aws::Vector<ResourceInfo>&& value) { SetResources(std::move(value)); return *this;}
61 
65  inline ListAssociatedResourcesResult& AddResources(const ResourceInfo& value) { m_resources.push_back(value); return *this; }
66 
70  inline ListAssociatedResourcesResult& AddResources(ResourceInfo&& value) { m_resources.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListAssociatedResourcesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListAssociatedResourcesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListAssociatedResourcesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<ResourceInfo> m_resources;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace AppRegistry
124 } // namespace Aws
Aws::AppRegistry::Model::ListAssociatedResourcesResult::GetResources
const Aws::Vector< ResourceInfo > & GetResources() const
Definition: ListAssociatedResourcesResult.h:40
Aws::AppRegistry::Model::ListAssociatedResourcesResult::WithNextToken
ListAssociatedResourcesResult & WithNextToken(Aws::String &&value)
Definition: ListAssociatedResourcesResult.h:107
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppRegistry::Model::ListAssociatedResourcesResult::AddResources
ListAssociatedResourcesResult & AddResources(ResourceInfo &&value)
Definition: ListAssociatedResourcesResult.h:70
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ResourceInfo.h
AWSVector.h
Aws::AppRegistry::Model::ListAssociatedResourcesResult::WithResources
ListAssociatedResourcesResult & WithResources(Aws::Vector< ResourceInfo > &&value)
Definition: ListAssociatedResourcesResult.h:60
Aws::AppRegistry::Model::ListAssociatedResourcesResult::ListAssociatedResourcesResult
ListAssociatedResourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::ListAssociatedResourcesResult
Definition: ListAssociatedResourcesResult.h:30
Aws::AppRegistry::Model::ListAssociatedResourcesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAssociatedResourcesResult.h:83
Aws::AppRegistry::Model::ListAssociatedResourcesResult::WithNextToken
ListAssociatedResourcesResult & WithNextToken(const Aws::String &value)
Definition: ListAssociatedResourcesResult.h:101
Aws::AppRegistry::Model::ResourceInfo
Definition: ResourceInfo.h:32
Aws::AppRegistry::Model::ListAssociatedResourcesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAssociatedResourcesResult.h:77
Aws::AppRegistry::Model::ListAssociatedResourcesResult::SetResources
void SetResources(Aws::Vector< ResourceInfo > &&value)
Definition: ListAssociatedResourcesResult.h:50
AWSString.h
Aws::AppRegistry::Model::ListAssociatedResourcesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAssociatedResourcesResult.h:89
Aws::AppRegistry::Model::ListAssociatedResourcesResult::WithNextToken
ListAssociatedResourcesResult & WithNextToken(const char *value)
Definition: ListAssociatedResourcesResult.h:113
Aws::AppRegistry::Model::ListAssociatedResourcesResult::AddResources
ListAssociatedResourcesResult & AddResources(const ResourceInfo &value)
Definition: ListAssociatedResourcesResult.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::AppRegistry::Model::ListAssociatedResourcesResult::SetResources
void SetResources(const Aws::Vector< ResourceInfo > &value)
Definition: ListAssociatedResourcesResult.h:45
Aws::AppRegistry::Model::ListAssociatedResourcesResult::ListAssociatedResourcesResult
ListAssociatedResourcesResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::ListAssociatedResourcesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAssociatedResourcesResult.h:95
AppRegistry_EXPORTS.h
Aws::AppRegistry::Model::ListAssociatedResourcesResult::operator=
ListAssociatedResourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::ListAssociatedResourcesResult::WithResources
ListAssociatedResourcesResult & WithResources(const Aws::Vector< ResourceInfo > &value)
Definition: ListAssociatedResourcesResult.h:55