AWS SDK for C++  1.9.104
AWS SDK for C++
ListAssociatedAttributeGroupsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace AppRegistry
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Aws::String>& GetAttributeGroups() const{ return m_attributeGroups; }
40 
44  inline void SetAttributeGroups(const Aws::Vector<Aws::String>& value) { m_attributeGroups = value; }
45 
49  inline void SetAttributeGroups(Aws::Vector<Aws::String>&& value) { m_attributeGroups = std::move(value); }
50 
54  inline ListAssociatedAttributeGroupsResult& WithAttributeGroups(const Aws::Vector<Aws::String>& value) { SetAttributeGroups(value); return *this;}
55 
59  inline ListAssociatedAttributeGroupsResult& WithAttributeGroups(Aws::Vector<Aws::String>&& value) { SetAttributeGroups(std::move(value)); return *this;}
60 
64  inline ListAssociatedAttributeGroupsResult& AddAttributeGroups(const Aws::String& value) { m_attributeGroups.push_back(value); return *this; }
65 
69  inline ListAssociatedAttributeGroupsResult& AddAttributeGroups(Aws::String&& value) { m_attributeGroups.push_back(std::move(value)); return *this; }
70 
74  inline ListAssociatedAttributeGroupsResult& AddAttributeGroups(const char* value) { m_attributeGroups.push_back(value); return *this; }
75 
76 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
87  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
88 
93  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94 
99  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
100 
105  inline ListAssociatedAttributeGroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 
111  inline ListAssociatedAttributeGroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
117  inline ListAssociatedAttributeGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118 
119  private:
120 
121  Aws::Vector<Aws::String> m_attributeGroups;
122 
123  Aws::String m_nextToken;
124  };
125 
126 } // namespace Model
127 } // namespace AppRegistry
128 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::SetAttributeGroups
void SetAttributeGroups(const Aws::Vector< Aws::String > &value)
Definition: ListAssociatedAttributeGroupsResult.h:44
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::WithNextToken
ListAssociatedAttributeGroupsResult & WithNextToken(Aws::String &&value)
Definition: ListAssociatedAttributeGroupsResult.h:111
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::GetAttributeGroups
const Aws::Vector< Aws::String > & GetAttributeGroups() const
Definition: ListAssociatedAttributeGroupsResult.h:39
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::ListAssociatedAttributeGroupsResult
ListAssociatedAttributeGroupsResult()
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAssociatedAttributeGroupsResult.h:87
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::AddAttributeGroups
ListAssociatedAttributeGroupsResult & AddAttributeGroups(const char *value)
Definition: ListAssociatedAttributeGroupsResult.h:74
AWSVector.h
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::WithAttributeGroups
ListAssociatedAttributeGroupsResult & WithAttributeGroups(Aws::Vector< Aws::String > &&value)
Definition: ListAssociatedAttributeGroupsResult.h:59
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAssociatedAttributeGroupsResult.h:99
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::operator=
ListAssociatedAttributeGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::WithAttributeGroups
ListAssociatedAttributeGroupsResult & WithAttributeGroups(const Aws::Vector< Aws::String > &value)
Definition: ListAssociatedAttributeGroupsResult.h:54
AWSString.h
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAssociatedAttributeGroupsResult.h:93
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::WithNextToken
ListAssociatedAttributeGroupsResult & WithNextToken(const char *value)
Definition: ListAssociatedAttributeGroupsResult.h:117
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::AddAttributeGroups
ListAssociatedAttributeGroupsResult & AddAttributeGroups(Aws::String &&value)
Definition: ListAssociatedAttributeGroupsResult.h:69
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::WithNextToken
ListAssociatedAttributeGroupsResult & WithNextToken(const Aws::String &value)
Definition: ListAssociatedAttributeGroupsResult.h:105
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::ListAssociatedAttributeGroupsResult
ListAssociatedAttributeGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::SetAttributeGroups
void SetAttributeGroups(Aws::Vector< Aws::String > &&value)
Definition: ListAssociatedAttributeGroupsResult.h:49
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::AddAttributeGroups
ListAssociatedAttributeGroupsResult & AddAttributeGroups(const Aws::String &value)
Definition: ListAssociatedAttributeGroupsResult.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAssociatedAttributeGroupsResult.h:81
Aws::AppRegistry::Model::ListAssociatedAttributeGroupsResult
Definition: ListAssociatedAttributeGroupsResult.h:29
AppRegistry_EXPORTS.h