AWS SDK for C++  1.9.104
AWS SDK for C++
ListAttributeGroupsResult.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<AttributeGroupSummary>& GetAttributeGroups() const{ return m_attributeGroups; }
41 
45  inline void SetAttributeGroups(const Aws::Vector<AttributeGroupSummary>& value) { m_attributeGroups = value; }
46 
50  inline void SetAttributeGroups(Aws::Vector<AttributeGroupSummary>&& value) { m_attributeGroups = std::move(value); }
51 
55  inline ListAttributeGroupsResult& WithAttributeGroups(const Aws::Vector<AttributeGroupSummary>& value) { SetAttributeGroups(value); return *this;}
56 
60  inline ListAttributeGroupsResult& WithAttributeGroups(Aws::Vector<AttributeGroupSummary>&& value) { SetAttributeGroups(std::move(value)); return *this;}
61 
65  inline ListAttributeGroupsResult& AddAttributeGroups(const AttributeGroupSummary& value) { m_attributeGroups.push_back(value); return *this; }
66 
70  inline ListAttributeGroupsResult& AddAttributeGroups(AttributeGroupSummary&& value) { m_attributeGroups.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 ListAttributeGroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListAttributeGroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListAttributeGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<AttributeGroupSummary> m_attributeGroups;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace AppRegistry
124 } // namespace Aws
Aws::AppRegistry::Model::ListAttributeGroupsResult::WithNextToken
ListAttributeGroupsResult & WithNextToken(Aws::String &&value)
Definition: ListAttributeGroupsResult.h:107
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppRegistry::Model::ListAttributeGroupsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAttributeGroupsResult.h:89
Aws::AppRegistry::Model::ListAttributeGroupsResult::SetAttributeGroups
void SetAttributeGroups(Aws::Vector< AttributeGroupSummary > &&value)
Definition: ListAttributeGroupsResult.h:50
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
AttributeGroupSummary.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppRegistry::Model::AttributeGroupSummary
Definition: AttributeGroupSummary.h:34
Aws::AppRegistry::Model::ListAttributeGroupsResult::AddAttributeGroups
ListAttributeGroupsResult & AddAttributeGroups(AttributeGroupSummary &&value)
Definition: ListAttributeGroupsResult.h:70
AWSVector.h
Aws::AppRegistry::Model::ListAttributeGroupsResult::operator=
ListAttributeGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::ListAttributeGroupsResult::GetAttributeGroups
const Aws::Vector< AttributeGroupSummary > & GetAttributeGroups() const
Definition: ListAttributeGroupsResult.h:40
Aws::AppRegistry::Model::ListAttributeGroupsResult::WithAttributeGroups
ListAttributeGroupsResult & WithAttributeGroups(const Aws::Vector< AttributeGroupSummary > &value)
Definition: ListAttributeGroupsResult.h:55
Aws::AppRegistry::Model::ListAttributeGroupsResult::WithAttributeGroups
ListAttributeGroupsResult & WithAttributeGroups(Aws::Vector< AttributeGroupSummary > &&value)
Definition: ListAttributeGroupsResult.h:60
Aws::AppRegistry::Model::ListAttributeGroupsResult::SetAttributeGroups
void SetAttributeGroups(const Aws::Vector< AttributeGroupSummary > &value)
Definition: ListAttributeGroupsResult.h:45
Aws::AppRegistry::Model::ListAttributeGroupsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAttributeGroupsResult.h:77
Aws::AppRegistry::Model::ListAttributeGroupsResult::AddAttributeGroups
ListAttributeGroupsResult & AddAttributeGroups(const AttributeGroupSummary &value)
Definition: ListAttributeGroupsResult.h:65
AWSString.h
Aws::AppRegistry::Model::ListAttributeGroupsResult
Definition: ListAttributeGroupsResult.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::ListAttributeGroupsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAttributeGroupsResult.h:83
Aws::AppRegistry::Model::ListAttributeGroupsResult::ListAttributeGroupsResult
ListAttributeGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::ListAttributeGroupsResult::WithNextToken
ListAttributeGroupsResult & WithNextToken(const char *value)
Definition: ListAttributeGroupsResult.h:113
Aws::AppRegistry::Model::ListAttributeGroupsResult::WithNextToken
ListAttributeGroupsResult & WithNextToken(const Aws::String &value)
Definition: ListAttributeGroupsResult.h:101
Aws::AppRegistry::Model::ListAttributeGroupsResult::ListAttributeGroupsResult
ListAttributeGroupsResult()
AppRegistry_EXPORTS.h
Aws::AppRegistry::Model::ListAttributeGroupsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAttributeGroupsResult.h:95