AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeServiceDeploymentsResult.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/ServiceDeployment.h>
11#include <aws/ecs/model/Failure.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ECS
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::Vector<ServiceDeployment>& GetServiceDeployments() const{ return m_serviceDeployments; }
43 inline void SetServiceDeployments(const Aws::Vector<ServiceDeployment>& value) { m_serviceDeployments = value; }
44 inline void SetServiceDeployments(Aws::Vector<ServiceDeployment>&& value) { m_serviceDeployments = std::move(value); }
47 inline DescribeServiceDeploymentsResult& AddServiceDeployments(const ServiceDeployment& value) { m_serviceDeployments.push_back(value); return *this; }
48 inline DescribeServiceDeploymentsResult& AddServiceDeployments(ServiceDeployment&& value) { m_serviceDeployments.push_back(std::move(value)); return *this; }
50
52
58 inline const Aws::Vector<Failure>& GetFailures() const{ return m_failures; }
59 inline void SetFailures(const Aws::Vector<Failure>& value) { m_failures = value; }
60 inline void SetFailures(Aws::Vector<Failure>&& value) { m_failures = std::move(value); }
62 inline DescribeServiceDeploymentsResult& WithFailures(Aws::Vector<Failure>&& value) { SetFailures(std::move(value)); return *this;}
63 inline DescribeServiceDeploymentsResult& AddFailures(const Failure& value) { m_failures.push_back(value); return *this; }
64 inline DescribeServiceDeploymentsResult& AddFailures(Failure&& value) { m_failures.push_back(std::move(value)); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline DescribeServiceDeploymentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline DescribeServiceDeploymentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline DescribeServiceDeploymentsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::Vector<ServiceDeployment> m_serviceDeployments;
80
81 Aws::Vector<Failure> m_failures;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace ECS
88} // namespace Aws
DescribeServiceDeploymentsResult & WithServiceDeployments(const Aws::Vector< ServiceDeployment > &value)
DescribeServiceDeploymentsResult & AddServiceDeployments(ServiceDeployment &&value)
AWS_ECS_API DescribeServiceDeploymentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetServiceDeployments(const Aws::Vector< ServiceDeployment > &value)
DescribeServiceDeploymentsResult & WithServiceDeployments(Aws::Vector< ServiceDeployment > &&value)
DescribeServiceDeploymentsResult & AddFailures(const Failure &value)
DescribeServiceDeploymentsResult & WithRequestId(const char *value)
DescribeServiceDeploymentsResult & WithRequestId(Aws::String &&value)
DescribeServiceDeploymentsResult & WithFailures(Aws::Vector< Failure > &&value)
void SetServiceDeployments(Aws::Vector< ServiceDeployment > &&value)
AWS_ECS_API DescribeServiceDeploymentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ServiceDeployment > & GetServiceDeployments() const
DescribeServiceDeploymentsResult & WithRequestId(const Aws::String &value)
DescribeServiceDeploymentsResult & WithFailures(const Aws::Vector< Failure > &value)
DescribeServiceDeploymentsResult & AddServiceDeployments(const ServiceDeployment &value)
DescribeServiceDeploymentsResult & AddFailures(Failure &&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