AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDeploymentGroupsResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
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:
37 AWS_CODEDEPLOY_API ListDeploymentGroupsResult();
40
41
43
46 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
47 inline void SetApplicationName(const Aws::String& value) { m_applicationName = value; }
48 inline void SetApplicationName(Aws::String&& value) { m_applicationName = std::move(value); }
49 inline void SetApplicationName(const char* value) { m_applicationName.assign(value); }
51 inline ListDeploymentGroupsResult& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
52 inline ListDeploymentGroupsResult& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetDeploymentGroups() const{ return m_deploymentGroups; }
60 inline void SetDeploymentGroups(const Aws::Vector<Aws::String>& value) { m_deploymentGroups = value; }
61 inline void SetDeploymentGroups(Aws::Vector<Aws::String>&& value) { m_deploymentGroups = std::move(value); }
64 inline ListDeploymentGroupsResult& AddDeploymentGroups(const Aws::String& value) { m_deploymentGroups.push_back(value); return *this; }
65 inline ListDeploymentGroupsResult& AddDeploymentGroups(Aws::String&& value) { m_deploymentGroups.push_back(std::move(value)); return *this; }
66 inline ListDeploymentGroupsResult& AddDeploymentGroups(const char* value) { m_deploymentGroups.push_back(value); return *this; }
68
70
75 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
76 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
77 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
78 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
79 inline ListDeploymentGroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
80 inline ListDeploymentGroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
81 inline ListDeploymentGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
83
85
86 inline const Aws::String& GetRequestId() const{ return m_requestId; }
87 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
88 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
89 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
90 inline ListDeploymentGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 inline ListDeploymentGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
92 inline ListDeploymentGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
94 private:
95
96 Aws::String m_applicationName;
97
98 Aws::Vector<Aws::String> m_deploymentGroups;
99
100 Aws::String m_nextToken;
101
102 Aws::String m_requestId;
103 };
104
105} // namespace Model
106} // namespace CodeDeploy
107} // namespace Aws
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)
ListDeploymentGroupsResult & WithRequestId(const char *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 & WithRequestId(Aws::String &&value)
ListDeploymentGroupsResult & WithNextToken(const char *value)
ListDeploymentGroupsResult & WithRequestId(const Aws::String &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
Aws::Utils::Json::JsonValue JsonValue