AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40
41
43
46 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
47 template<typename ApplicationNameT = Aws::String>
48 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
49 template<typename ApplicationNameT = Aws::String>
50 ListDeploymentGroupsResult& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
52
54
57 inline const Aws::Vector<Aws::String>& GetDeploymentGroups() const { return m_deploymentGroups; }
58 template<typename DeploymentGroupsT = Aws::Vector<Aws::String>>
59 void SetDeploymentGroups(DeploymentGroupsT&& value) { m_deploymentGroupsHasBeenSet = true; m_deploymentGroups = std::forward<DeploymentGroupsT>(value); }
60 template<typename DeploymentGroupsT = Aws::Vector<Aws::String>>
61 ListDeploymentGroupsResult& WithDeploymentGroups(DeploymentGroupsT&& value) { SetDeploymentGroups(std::forward<DeploymentGroupsT>(value)); return *this;}
62 template<typename DeploymentGroupsT = Aws::String>
63 ListDeploymentGroupsResult& AddDeploymentGroups(DeploymentGroupsT&& value) { m_deploymentGroupsHasBeenSet = true; m_deploymentGroups.emplace_back(std::forward<DeploymentGroupsT>(value)); return *this; }
65
67
72 inline const Aws::String& GetNextToken() const { return m_nextToken; }
73 template<typename NextTokenT = Aws::String>
74 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
75 template<typename NextTokenT = Aws::String>
76 ListDeploymentGroupsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 ListDeploymentGroupsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 Aws::String m_applicationName;
90 bool m_applicationNameHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_deploymentGroups;
93 bool m_deploymentGroupsHasBeenSet = false;
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CodeDeploy
104} // namespace Aws
AWS_CODEDEPLOY_API ListDeploymentGroupsResult()=default
AWS_CODEDEPLOY_API ListDeploymentGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetDeploymentGroups() const
AWS_CODEDEPLOY_API ListDeploymentGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDeploymentGroupsResult & WithApplicationName(ApplicationNameT &&value)
ListDeploymentGroupsResult & WithRequestId(RequestIdT &&value)
ListDeploymentGroupsResult & WithDeploymentGroups(DeploymentGroupsT &&value)
ListDeploymentGroupsResult & AddDeploymentGroups(DeploymentGroupsT &&value)
ListDeploymentGroupsResult & WithNextToken(NextTokenT &&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