AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeUserStackAssociationsResult.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace AppStream
26{
27namespace Model
28{
30 {
31 public:
35
36
40 inline const Aws::Vector<UserStackAssociation>& GetUserStackAssociations() const{ return m_userStackAssociations; }
41
45 inline void SetUserStackAssociations(const Aws::Vector<UserStackAssociation>& value) { m_userStackAssociations = value; }
46
50 inline void SetUserStackAssociations(Aws::Vector<UserStackAssociation>&& value) { m_userStackAssociations = std::move(value); }
51
56
61
65 inline DescribeUserStackAssociationsResult& AddUserStackAssociations(const UserStackAssociation& value) { m_userStackAssociations.push_back(value); return *this; }
66
70 inline DescribeUserStackAssociationsResult& AddUserStackAssociations(UserStackAssociation&& value) { m_userStackAssociations.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 DescribeUserStackAssociationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102
107 inline DescribeUserStackAssociationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108
113 inline DescribeUserStackAssociationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114
115 private:
116
117 Aws::Vector<UserStackAssociation> m_userStackAssociations;
118
119 Aws::String m_nextToken;
120 };
121
122} // namespace Model
123} // namespace AppStream
124} // namespace Aws
#define AWS_APPSTREAM_API
AWS_APPSTREAM_API DescribeUserStackAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUserStackAssociations(Aws::Vector< UserStackAssociation > &&value)
DescribeUserStackAssociationsResult & AddUserStackAssociations(const UserStackAssociation &value)
void SetUserStackAssociations(const Aws::Vector< UserStackAssociation > &value)
DescribeUserStackAssociationsResult & WithUserStackAssociations(Aws::Vector< UserStackAssociation > &&value)
DescribeUserStackAssociationsResult & WithNextToken(Aws::String &&value)
const Aws::Vector< UserStackAssociation > & GetUserStackAssociations() const
DescribeUserStackAssociationsResult & WithNextToken(const char *value)
DescribeUserStackAssociationsResult & WithUserStackAssociations(const Aws::Vector< UserStackAssociation > &value)
DescribeUserStackAssociationsResult & AddUserStackAssociations(UserStackAssociation &&value)
AWS_APPSTREAM_API DescribeUserStackAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeUserStackAssociationsResult & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector