AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListServiceDeploymentsResult.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecs/model/ServiceDeploymentBrief.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ECS
26{
27namespace Model
28{
30 {
31 public:
35
36
38
49 inline const Aws::Vector<ServiceDeploymentBrief>& GetServiceDeployments() const{ return m_serviceDeployments; }
50 inline void SetServiceDeployments(const Aws::Vector<ServiceDeploymentBrief>& value) { m_serviceDeployments = value; }
51 inline void SetServiceDeployments(Aws::Vector<ServiceDeploymentBrief>&& value) { m_serviceDeployments = std::move(value); }
54 inline ListServiceDeploymentsResult& AddServiceDeployments(const ServiceDeploymentBrief& value) { m_serviceDeployments.push_back(value); return *this; }
55 inline ListServiceDeploymentsResult& AddServiceDeployments(ServiceDeploymentBrief&& value) { m_serviceDeployments.push_back(std::move(value)); return *this; }
57
59
66 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
67 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
68 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
69 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
70 inline ListServiceDeploymentsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 inline ListServiceDeploymentsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72 inline ListServiceDeploymentsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline ListServiceDeploymentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline ListServiceDeploymentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline ListServiceDeploymentsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::Vector<ServiceDeploymentBrief> m_serviceDeployments;
88
89 Aws::String m_nextToken;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace ECS
96} // namespace Aws
ListServiceDeploymentsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< ServiceDeploymentBrief > & GetServiceDeployments() const
ListServiceDeploymentsResult & WithNextToken(Aws::String &&value)
ListServiceDeploymentsResult & WithRequestId(const char *value)
ListServiceDeploymentsResult & WithRequestId(const Aws::String &value)
ListServiceDeploymentsResult & AddServiceDeployments(const ServiceDeploymentBrief &value)
void SetServiceDeployments(const Aws::Vector< ServiceDeploymentBrief > &value)
ListServiceDeploymentsResult & WithServiceDeployments(const Aws::Vector< ServiceDeploymentBrief > &value)
ListServiceDeploymentsResult & WithServiceDeployments(Aws::Vector< ServiceDeploymentBrief > &&value)
AWS_ECS_API ListServiceDeploymentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ECS_API ListServiceDeploymentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetServiceDeployments(Aws::Vector< ServiceDeploymentBrief > &&value)
ListServiceDeploymentsResult & WithNextToken(const Aws::String &value)
ListServiceDeploymentsResult & AddServiceDeployments(ServiceDeploymentBrief &&value)
ListServiceDeploymentsResult & WithNextToken(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