AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CreatedAtT = Aws::String>
51 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
52 template<typename CreatedAtT = Aws::String>
53 BulkDeploymentResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDeploymentArn() const { return m_deploymentArn; }
61 inline bool DeploymentArnHasBeenSet() const { return m_deploymentArnHasBeenSet; }
62 template<typename DeploymentArnT = Aws::String>
63 void SetDeploymentArn(DeploymentArnT&& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = std::forward<DeploymentArnT>(value); }
64 template<typename DeploymentArnT = Aws::String>
65 BulkDeploymentResult& WithDeploymentArn(DeploymentArnT&& value) { SetDeploymentArn(std::forward<DeploymentArnT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
73 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
74 template<typename DeploymentIdT = Aws::String>
75 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::forward<DeploymentIdT>(value); }
76 template<typename DeploymentIdT = Aws::String>
77 BulkDeploymentResult& WithDeploymentId(DeploymentIdT&& value) { SetDeploymentId(std::forward<DeploymentIdT>(value)); return *this;}
79
81
85 inline const Aws::String& GetDeploymentStatus() const { return m_deploymentStatus; }
86 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
87 template<typename DeploymentStatusT = Aws::String>
88 void SetDeploymentStatus(DeploymentStatusT&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::forward<DeploymentStatusT>(value); }
89 template<typename DeploymentStatusT = Aws::String>
90 BulkDeploymentResult& WithDeploymentStatus(DeploymentStatusT&& value) { SetDeploymentStatus(std::forward<DeploymentStatusT>(value)); return *this;}
92
94
97 inline DeploymentType GetDeploymentType() const { return m_deploymentType; }
98 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
99 inline void SetDeploymentType(DeploymentType value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
102
104
107 inline const Aws::Vector<ErrorDetail>& GetErrorDetails() const { return m_errorDetails; }
108 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
109 template<typename ErrorDetailsT = Aws::Vector<ErrorDetail>>
110 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
111 template<typename ErrorDetailsT = Aws::Vector<ErrorDetail>>
112 BulkDeploymentResult& WithErrorDetails(ErrorDetailsT&& value) { SetErrorDetails(std::forward<ErrorDetailsT>(value)); return *this;}
113 template<typename ErrorDetailsT = ErrorDetail>
114 BulkDeploymentResult& AddErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails.emplace_back(std::forward<ErrorDetailsT>(value)); return *this; }
116
118
121 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
122 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
123 template<typename ErrorMessageT = Aws::String>
124 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
125 template<typename ErrorMessageT = Aws::String>
126 BulkDeploymentResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
128
130
133 inline const Aws::String& GetGroupArn() const { return m_groupArn; }
134 inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
135 template<typename GroupArnT = Aws::String>
136 void SetGroupArn(GroupArnT&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::forward<GroupArnT>(value); }
137 template<typename GroupArnT = Aws::String>
138 BulkDeploymentResult& WithGroupArn(GroupArnT&& value) { SetGroupArn(std::forward<GroupArnT>(value)); return *this;}
140 private:
141
142 Aws::String m_createdAt;
143 bool m_createdAtHasBeenSet = false;
144
145 Aws::String m_deploymentArn;
146 bool m_deploymentArnHasBeenSet = false;
147
148 Aws::String m_deploymentId;
149 bool m_deploymentIdHasBeenSet = false;
150
151 Aws::String m_deploymentStatus;
152 bool m_deploymentStatusHasBeenSet = false;
153
154 DeploymentType m_deploymentType{DeploymentType::NOT_SET};
155 bool m_deploymentTypeHasBeenSet = false;
156
157 Aws::Vector<ErrorDetail> m_errorDetails;
158 bool m_errorDetailsHasBeenSet = false;
159
160 Aws::String m_errorMessage;
161 bool m_errorMessageHasBeenSet = false;
162
163 Aws::String m_groupArn;
164 bool m_groupArnHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace Greengrass
169} // namespace Aws
BulkDeploymentResult & WithCreatedAt(CreatedAtT &&value)
BulkDeploymentResult & WithErrorMessage(ErrorMessageT &&value)
BulkDeploymentResult & WithDeploymentArn(DeploymentArnT &&value)
BulkDeploymentResult & WithDeploymentId(DeploymentIdT &&value)
BulkDeploymentResult & WithDeploymentStatus(DeploymentStatusT &&value)
BulkDeploymentResult & WithDeploymentType(DeploymentType value)
AWS_GREENGRASS_API BulkDeploymentResult & operator=(Aws::Utils::Json::JsonView jsonValue)
BulkDeploymentResult & WithErrorDetails(ErrorDetailsT &&value)
BulkDeploymentResult & WithGroupArn(GroupArnT &&value)
AWS_GREENGRASS_API BulkDeploymentResult(Aws::Utils::Json::JsonView jsonValue)
void SetDeploymentStatus(DeploymentStatusT &&value)
AWS_GREENGRASS_API BulkDeploymentResult()=default
const Aws::Vector< ErrorDetail > & GetErrorDetails() const
BulkDeploymentResult & AddErrorDetails(ErrorDetailsT &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue