AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BulkDeploymentResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/model/DeploymentType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/greengrass/model/ErrorDetail.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Greengrass
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GREENGRASS_API BulkDeploymentResult();
39 AWS_GREENGRASS_API BulkDeploymentResult(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
49 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
50 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
51 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
52 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
53 inline BulkDeploymentResult& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
54 inline BulkDeploymentResult& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
55 inline BulkDeploymentResult& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
57
59
62 inline const Aws::String& GetDeploymentArn() const{ return m_deploymentArn; }
63 inline bool DeploymentArnHasBeenSet() const { return m_deploymentArnHasBeenSet; }
64 inline void SetDeploymentArn(const Aws::String& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = value; }
65 inline void SetDeploymentArn(Aws::String&& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = std::move(value); }
66 inline void SetDeploymentArn(const char* value) { m_deploymentArnHasBeenSet = true; m_deploymentArn.assign(value); }
67 inline BulkDeploymentResult& WithDeploymentArn(const Aws::String& value) { SetDeploymentArn(value); return *this;}
68 inline BulkDeploymentResult& WithDeploymentArn(Aws::String&& value) { SetDeploymentArn(std::move(value)); return *this;}
69 inline BulkDeploymentResult& WithDeploymentArn(const char* value) { SetDeploymentArn(value); return *this;}
71
73
76 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
77 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
78 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
79 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
80 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
81 inline BulkDeploymentResult& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
82 inline BulkDeploymentResult& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
83 inline BulkDeploymentResult& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
85
87
91 inline const Aws::String& GetDeploymentStatus() const{ return m_deploymentStatus; }
92 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
93 inline void SetDeploymentStatus(const Aws::String& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
94 inline void SetDeploymentStatus(Aws::String&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); }
95 inline void SetDeploymentStatus(const char* value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus.assign(value); }
96 inline BulkDeploymentResult& WithDeploymentStatus(const Aws::String& value) { SetDeploymentStatus(value); return *this;}
97 inline BulkDeploymentResult& WithDeploymentStatus(Aws::String&& value) { SetDeploymentStatus(std::move(value)); return *this;}
98 inline BulkDeploymentResult& WithDeploymentStatus(const char* value) { SetDeploymentStatus(value); return *this;}
100
102
105 inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; }
106 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
107 inline void SetDeploymentType(const DeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
108 inline void SetDeploymentType(DeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
109 inline BulkDeploymentResult& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;}
110 inline BulkDeploymentResult& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;}
112
114
117 inline const Aws::Vector<ErrorDetail>& GetErrorDetails() const{ return m_errorDetails; }
118 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
119 inline void SetErrorDetails(const Aws::Vector<ErrorDetail>& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
120 inline void SetErrorDetails(Aws::Vector<ErrorDetail>&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
122 inline BulkDeploymentResult& WithErrorDetails(Aws::Vector<ErrorDetail>&& value) { SetErrorDetails(std::move(value)); return *this;}
123 inline BulkDeploymentResult& AddErrorDetails(const ErrorDetail& value) { m_errorDetailsHasBeenSet = true; m_errorDetails.push_back(value); return *this; }
124 inline BulkDeploymentResult& AddErrorDetails(ErrorDetail&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails.push_back(std::move(value)); return *this; }
126
128
131 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
132 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
133 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
134 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
135 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
136 inline BulkDeploymentResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
137 inline BulkDeploymentResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
138 inline BulkDeploymentResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
140
142
145 inline const Aws::String& GetGroupArn() const{ return m_groupArn; }
146 inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
147 inline void SetGroupArn(const Aws::String& value) { m_groupArnHasBeenSet = true; m_groupArn = value; }
148 inline void SetGroupArn(Aws::String&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::move(value); }
149 inline void SetGroupArn(const char* value) { m_groupArnHasBeenSet = true; m_groupArn.assign(value); }
150 inline BulkDeploymentResult& WithGroupArn(const Aws::String& value) { SetGroupArn(value); return *this;}
151 inline BulkDeploymentResult& WithGroupArn(Aws::String&& value) { SetGroupArn(std::move(value)); return *this;}
152 inline BulkDeploymentResult& WithGroupArn(const char* value) { SetGroupArn(value); return *this;}
154 private:
155
156 Aws::String m_createdAt;
157 bool m_createdAtHasBeenSet = false;
158
159 Aws::String m_deploymentArn;
160 bool m_deploymentArnHasBeenSet = false;
161
162 Aws::String m_deploymentId;
163 bool m_deploymentIdHasBeenSet = false;
164
165 Aws::String m_deploymentStatus;
166 bool m_deploymentStatusHasBeenSet = false;
167
168 DeploymentType m_deploymentType;
169 bool m_deploymentTypeHasBeenSet = false;
170
171 Aws::Vector<ErrorDetail> m_errorDetails;
172 bool m_errorDetailsHasBeenSet = false;
173
174 Aws::String m_errorMessage;
175 bool m_errorMessageHasBeenSet = false;
176
177 Aws::String m_groupArn;
178 bool m_groupArnHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Greengrass
183} // namespace Aws
void SetDeploymentType(const DeploymentType &value)
BulkDeploymentResult & AddErrorDetails(const ErrorDetail &value)
BulkDeploymentResult & WithDeploymentArn(const Aws::String &value)
void SetDeploymentStatus(const Aws::String &value)
BulkDeploymentResult & WithErrorDetails(Aws::Vector< ErrorDetail > &&value)
BulkDeploymentResult & WithCreatedAt(const char *value)
BulkDeploymentResult & WithDeploymentId(Aws::String &&value)
BulkDeploymentResult & WithDeploymentId(const char *value)
BulkDeploymentResult & WithDeploymentStatus(const Aws::String &value)
BulkDeploymentResult & WithGroupArn(Aws::String &&value)
BulkDeploymentResult & WithErrorMessage(Aws::String &&value)
void SetDeploymentArn(const Aws::String &value)
void SetErrorDetails(Aws::Vector< ErrorDetail > &&value)
BulkDeploymentResult & WithDeploymentId(const Aws::String &value)
BulkDeploymentResult & WithDeploymentStatus(Aws::String &&value)
BulkDeploymentResult & WithErrorMessage(const char *value)
BulkDeploymentResult & WithErrorDetails(const Aws::Vector< ErrorDetail > &value)
AWS_GREENGRASS_API BulkDeploymentResult & operator=(Aws::Utils::Json::JsonView jsonValue)
BulkDeploymentResult & WithDeploymentType(DeploymentType &&value)
BulkDeploymentResult & WithGroupArn(const Aws::String &value)
BulkDeploymentResult & WithCreatedAt(const Aws::String &value)
BulkDeploymentResult & WithGroupArn(const char *value)
BulkDeploymentResult & WithDeploymentArn(Aws::String &&value)
void SetErrorDetails(const Aws::Vector< ErrorDetail > &value)
BulkDeploymentResult & WithErrorMessage(const Aws::String &value)
BulkDeploymentResult & WithCreatedAt(Aws::String &&value)
BulkDeploymentResult & WithDeploymentArn(const char *value)
BulkDeploymentResult & WithDeploymentStatus(const char *value)
AWS_GREENGRASS_API BulkDeploymentResult(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ErrorDetail > & GetErrorDetails() const
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
BulkDeploymentResult & AddErrorDetails(ErrorDetail &&value)
BulkDeploymentResult & WithDeploymentType(const DeploymentType &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