AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListDeploymentTargetsResult.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{
29 {
30 public:
34
35
39 inline const Aws::Vector<Aws::String>& GetTargetIds() const{ return m_targetIds; }
40
44 inline void SetTargetIds(const Aws::Vector<Aws::String>& value) { m_targetIds = value; }
45
49 inline void SetTargetIds(Aws::Vector<Aws::String>&& value) { m_targetIds = std::move(value); }
50
55
59 inline ListDeploymentTargetsResult& WithTargetIds(Aws::Vector<Aws::String>&& value) { SetTargetIds(std::move(value)); return *this;}
60
64 inline ListDeploymentTargetsResult& AddTargetIds(const Aws::String& value) { m_targetIds.push_back(value); return *this; }
65
69 inline ListDeploymentTargetsResult& AddTargetIds(Aws::String&& value) { m_targetIds.push_back(std::move(value)); return *this; }
70
74 inline ListDeploymentTargetsResult& AddTargetIds(const char* value) { m_targetIds.push_back(value); return *this; }
75
76
82 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83
89 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90
96 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97
103 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
104
110 inline ListDeploymentTargetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
111
117 inline ListDeploymentTargetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
118
124 inline ListDeploymentTargetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
125
126 private:
127
128 Aws::Vector<Aws::String> m_targetIds;
129
130 Aws::String m_nextToken;
131 };
132
133} // namespace Model
134} // namespace CodeDeploy
135} // namespace Aws
#define AWS_CODEDEPLOY_API
AWS_CODEDEPLOY_API ListDeploymentTargetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDeploymentTargetsResult & WithTargetIds(const Aws::Vector< Aws::String > &value)
ListDeploymentTargetsResult & WithNextToken(Aws::String &&value)
ListDeploymentTargetsResult & AddTargetIds(Aws::String &&value)
ListDeploymentTargetsResult & AddTargetIds(const char *value)
AWS_CODEDEPLOY_API ListDeploymentTargetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetTargetIds() const
ListDeploymentTargetsResult & WithTargetIds(Aws::Vector< Aws::String > &&value)
void SetTargetIds(const Aws::Vector< Aws::String > &value)
ListDeploymentTargetsResult & WithNextToken(const char *value)
ListDeploymentTargetsResult & WithNextToken(const Aws::String &value)
void SetTargetIds(Aws::Vector< Aws::String > &&value)
ListDeploymentTargetsResult & AddTargetIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector