AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBulkDeploymentStatusResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/model/BulkDeploymentMetrics.h>
9#include <aws/greengrass/model/BulkDeploymentStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/greengrass/model/ErrorDetail.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Greengrass
29{
30namespace Model
31{
33 {
34 public:
35 AWS_GREENGRASS_API GetBulkDeploymentStatusResult();
38
39
41
44 inline const BulkDeploymentMetrics& GetBulkDeploymentMetrics() const{ return m_bulkDeploymentMetrics; }
45 inline void SetBulkDeploymentMetrics(const BulkDeploymentMetrics& value) { m_bulkDeploymentMetrics = value; }
46 inline void SetBulkDeploymentMetrics(BulkDeploymentMetrics&& value) { m_bulkDeploymentMetrics = std::move(value); }
50
52
55 inline const BulkDeploymentStatus& GetBulkDeploymentStatus() const{ return m_bulkDeploymentStatus; }
56 inline void SetBulkDeploymentStatus(const BulkDeploymentStatus& value) { m_bulkDeploymentStatus = value; }
57 inline void SetBulkDeploymentStatus(BulkDeploymentStatus&& value) { m_bulkDeploymentStatus = std::move(value); }
61
63
66 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
67 inline void SetCreatedAt(const Aws::String& value) { m_createdAt = value; }
68 inline void SetCreatedAt(Aws::String&& value) { m_createdAt = std::move(value); }
69 inline void SetCreatedAt(const char* value) { m_createdAt.assign(value); }
70 inline GetBulkDeploymentStatusResult& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
71 inline GetBulkDeploymentStatusResult& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
72 inline GetBulkDeploymentStatusResult& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
74
76
79 inline const Aws::Vector<ErrorDetail>& GetErrorDetails() const{ return m_errorDetails; }
80 inline void SetErrorDetails(const Aws::Vector<ErrorDetail>& value) { m_errorDetails = value; }
81 inline void SetErrorDetails(Aws::Vector<ErrorDetail>&& value) { m_errorDetails = std::move(value); }
84 inline GetBulkDeploymentStatusResult& AddErrorDetails(const ErrorDetail& value) { m_errorDetails.push_back(value); return *this; }
85 inline GetBulkDeploymentStatusResult& AddErrorDetails(ErrorDetail&& value) { m_errorDetails.push_back(std::move(value)); return *this; }
87
89
92 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
93 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
94 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
95 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
96 inline GetBulkDeploymentStatusResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
97 inline GetBulkDeploymentStatusResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
98 inline GetBulkDeploymentStatusResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
100
102
105 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
106 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
107 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
109 inline GetBulkDeploymentStatusResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
110 inline GetBulkDeploymentStatusResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
111 inline GetBulkDeploymentStatusResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
112 inline GetBulkDeploymentStatusResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
113 inline GetBulkDeploymentStatusResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
114 inline GetBulkDeploymentStatusResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
115 inline GetBulkDeploymentStatusResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
116 inline GetBulkDeploymentStatusResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
118
120
121 inline const Aws::String& GetRequestId() const{ return m_requestId; }
122 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
123 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
124 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
125 inline GetBulkDeploymentStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
126 inline GetBulkDeploymentStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
127 inline GetBulkDeploymentStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
129 private:
130
131 BulkDeploymentMetrics m_bulkDeploymentMetrics;
132
133 BulkDeploymentStatus m_bulkDeploymentStatus;
134
135 Aws::String m_createdAt;
136
137 Aws::Vector<ErrorDetail> m_errorDetails;
138
139 Aws::String m_errorMessage;
140
142
143 Aws::String m_requestId;
144 };
145
146} // namespace Model
147} // namespace Greengrass
148} // namespace Aws
GetBulkDeploymentStatusResult & AddErrorDetails(ErrorDetail &&value)
GetBulkDeploymentStatusResult & WithBulkDeploymentMetrics(const BulkDeploymentMetrics &value)
GetBulkDeploymentStatusResult & WithBulkDeploymentStatus(const BulkDeploymentStatus &value)
GetBulkDeploymentStatusResult & AddTags(Aws::String &&key, Aws::String &&value)
GetBulkDeploymentStatusResult & AddTags(const char *key, Aws::String &&value)
GetBulkDeploymentStatusResult & WithCreatedAt(const char *value)
void SetBulkDeploymentMetrics(const BulkDeploymentMetrics &value)
GetBulkDeploymentStatusResult & WithErrorDetails(Aws::Vector< ErrorDetail > &&value)
GetBulkDeploymentStatusResult & WithCreatedAt(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetBulkDeploymentStatusResult & WithErrorMessage(const Aws::String &value)
GetBulkDeploymentStatusResult & WithErrorMessage(Aws::String &&value)
GetBulkDeploymentStatusResult & WithRequestId(Aws::String &&value)
GetBulkDeploymentStatusResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetBulkDeploymentStatusResult & AddTags(const Aws::String &key, Aws::String &&value)
GetBulkDeploymentStatusResult & AddTags(const Aws::String &key, const Aws::String &value)
GetBulkDeploymentStatusResult & WithCreatedAt(const Aws::String &value)
GetBulkDeploymentStatusResult & WithBulkDeploymentMetrics(BulkDeploymentMetrics &&value)
void SetErrorDetails(const Aws::Vector< ErrorDetail > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetBulkDeploymentStatusResult & WithRequestId(const Aws::String &value)
GetBulkDeploymentStatusResult & AddTags(const char *key, const char *value)
GetBulkDeploymentStatusResult & AddTags(Aws::String &&key, const Aws::String &value)
GetBulkDeploymentStatusResult & WithBulkDeploymentStatus(BulkDeploymentStatus &&value)
GetBulkDeploymentStatusResult & AddErrorDetails(const ErrorDetail &value)
AWS_GREENGRASS_API GetBulkDeploymentStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_GREENGRASS_API GetBulkDeploymentStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBulkDeploymentStatusResult & WithRequestId(const char *value)
GetBulkDeploymentStatusResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetBulkDeploymentStatusResult & WithErrorDetails(const Aws::Vector< ErrorDetail > &value)
GetBulkDeploymentStatusResult & AddTags(Aws::String &&key, const char *value)
GetBulkDeploymentStatusResult & WithErrorMessage(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue