AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListDeploymentConfigsResult.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 ListDeploymentConfigsResult() = default;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetDeploymentConfigsList() const { return m_deploymentConfigsList; }
48 template<typename DeploymentConfigsListT = Aws::Vector<Aws::String>>
49 void SetDeploymentConfigsList(DeploymentConfigsListT&& value) { m_deploymentConfigsListHasBeenSet = true; m_deploymentConfigsList = std::forward<DeploymentConfigsListT>(value); }
50 template<typename DeploymentConfigsListT = Aws::Vector<Aws::String>>
51 ListDeploymentConfigsResult& WithDeploymentConfigsList(DeploymentConfigsListT&& value) { SetDeploymentConfigsList(std::forward<DeploymentConfigsListT>(value)); return *this;}
52 template<typename DeploymentConfigsListT = Aws::String>
53 ListDeploymentConfigsResult& AddDeploymentConfigsList(DeploymentConfigsListT&& value) { m_deploymentConfigsListHasBeenSet = true; m_deploymentConfigsList.emplace_back(std::forward<DeploymentConfigsListT>(value)); return *this; }
55
57
62 inline const Aws::String& GetNextToken() const { return m_nextToken; }
63 template<typename NextTokenT = Aws::String>
64 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
65 template<typename NextTokenT = Aws::String>
66 ListDeploymentConfigsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 ListDeploymentConfigsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::Vector<Aws::String> m_deploymentConfigsList;
80 bool m_deploymentConfigsListHasBeenSet = false;
81
82 Aws::String m_nextToken;
83 bool m_nextTokenHasBeenSet = false;
84
85 Aws::String m_requestId;
86 bool m_requestIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace CodeDeploy
91} // namespace Aws
AWS_CODEDEPLOY_API ListDeploymentConfigsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDeploymentConfigsResult & WithRequestId(RequestIdT &&value)
AWS_CODEDEPLOY_API ListDeploymentConfigsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetDeploymentConfigsList() const
ListDeploymentConfigsResult & AddDeploymentConfigsList(DeploymentConfigsListT &&value)
ListDeploymentConfigsResult & WithDeploymentConfigsList(DeploymentConfigsListT &&value)
ListDeploymentConfigsResult & WithNextToken(NextTokenT &&value)
AWS_CODEDEPLOY_API ListDeploymentConfigsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue