AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListDeploymentGroupsResult.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeDeploy
25{
26namespace Model
27{
35 {
36 public:
40
41
45 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
46
50 inline void SetApplicationName(const Aws::String& value) { m_applicationName = value; }
51
55 inline void SetApplicationName(Aws::String&& value) { m_applicationName = std::move(value); }
56
60 inline void SetApplicationName(const char* value) { m_applicationName.assign(value); }
61
66
70 inline ListDeploymentGroupsResult& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
71
75 inline ListDeploymentGroupsResult& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
76
77
81 inline const Aws::Vector<Aws::String>& GetDeploymentGroups() const{ return m_deploymentGroups; }
82
86 inline void SetDeploymentGroups(const Aws::Vector<Aws::String>& value) { m_deploymentGroups = value; }
87
91 inline void SetDeploymentGroups(Aws::Vector<Aws::String>&& value) { m_deploymentGroups = std::move(value); }
92
97
102
106 inline ListDeploymentGroupsResult& AddDeploymentGroups(const Aws::String& value) { m_deploymentGroups.push_back(value); return *this; }
107
111 inline ListDeploymentGroupsResult& AddDeploymentGroups(Aws::String&& value) { m_deploymentGroups.push_back(std::move(value)); return *this; }
112
116 inline ListDeploymentGroupsResult& AddDeploymentGroups(const char* value) { m_deploymentGroups.push_back(value); return *this; }
117
118
124 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
125
131 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
132
138 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
139
145 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
146
152 inline ListDeploymentGroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
153
159 inline ListDeploymentGroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
160
166 inline ListDeploymentGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
167
168 private:
169
170 Aws::String m_applicationName;
171
172 Aws::Vector<Aws::String> m_deploymentGroups;
173
174 Aws::String m_nextToken;
175 };
176
177} // namespace Model
178} // namespace CodeDeploy
179} // namespace Aws
#define AWS_CODEDEPLOY_API
AWS_CODEDEPLOY_API ListDeploymentGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeploymentGroups(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetDeploymentGroups() const
ListDeploymentGroupsResult & WithApplicationName(const Aws::String &value)
ListDeploymentGroupsResult & WithNextToken(Aws::String &&value)
ListDeploymentGroupsResult & WithApplicationName(Aws::String &&value)
void SetDeploymentGroups(Aws::Vector< Aws::String > &&value)
ListDeploymentGroupsResult & WithDeploymentGroups(const Aws::Vector< Aws::String > &value)
AWS_CODEDEPLOY_API ListDeploymentGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDeploymentGroupsResult & AddDeploymentGroups(const Aws::String &value)
ListDeploymentGroupsResult & WithNextToken(const char *value)
ListDeploymentGroupsResult & WithDeploymentGroups(Aws::Vector< Aws::String > &&value)
ListDeploymentGroupsResult & WithNextToken(const Aws::String &value)
ListDeploymentGroupsResult & AddDeploymentGroups(Aws::String &&value)
ListDeploymentGroupsResult & WithApplicationName(const char *value)
ListDeploymentGroupsResult & AddDeploymentGroups(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector