AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
47 inline const Aws::Vector<Aws::String>& GetDeploymentConfigsList() const{ return m_deploymentConfigsList; }
48 inline void SetDeploymentConfigsList(const Aws::Vector<Aws::String>& value) { m_deploymentConfigsList = value; }
49 inline void SetDeploymentConfigsList(Aws::Vector<Aws::String>&& value) { m_deploymentConfigsList = std::move(value); }
52 inline ListDeploymentConfigsResult& AddDeploymentConfigsList(const Aws::String& value) { m_deploymentConfigsList.push_back(value); return *this; }
53 inline ListDeploymentConfigsResult& AddDeploymentConfigsList(Aws::String&& value) { m_deploymentConfigsList.push_back(std::move(value)); return *this; }
54 inline ListDeploymentConfigsResult& AddDeploymentConfigsList(const char* value) { m_deploymentConfigsList.push_back(value); return *this; }
56
58
63 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
64 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
65 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
66 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
67 inline ListDeploymentConfigsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
68 inline ListDeploymentConfigsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
69 inline ListDeploymentConfigsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline ListDeploymentConfigsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline ListDeploymentConfigsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline ListDeploymentConfigsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
84 Aws::Vector<Aws::String> m_deploymentConfigsList;
85
86 Aws::String m_nextToken;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace CodeDeploy
93} // namespace Aws
ListDeploymentConfigsResult & WithNextToken(const Aws::String &value)
AWS_CODEDEPLOY_API ListDeploymentConfigsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDeploymentConfigsResult & WithNextToken(const char *value)
ListDeploymentConfigsResult & WithNextToken(Aws::String &&value)
ListDeploymentConfigsResult & WithRequestId(const char *value)
void SetDeploymentConfigsList(Aws::Vector< Aws::String > &&value)
ListDeploymentConfigsResult & AddDeploymentConfigsList(const char *value)
AWS_CODEDEPLOY_API ListDeploymentConfigsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetDeploymentConfigsList() const
ListDeploymentConfigsResult & AddDeploymentConfigsList(Aws::String &&value)
ListDeploymentConfigsResult & WithRequestId(Aws::String &&value)
ListDeploymentConfigsResult & AddDeploymentConfigsList(const Aws::String &value)
ListDeploymentConfigsResult & WithDeploymentConfigsList(const Aws::Vector< Aws::String > &value)
ListDeploymentConfigsResult & WithDeploymentConfigsList(Aws::Vector< Aws::String > &&value)
ListDeploymentConfigsResult & WithRequestId(const Aws::String &value)
void SetDeploymentConfigsList(const Aws::Vector< Aws::String > &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