AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
Deployment.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrass/Greengrass_EXPORTS.h>
9#include <aws/greengrass/model/DeploymentType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Greengrass {
21namespace Model {
22
29 public:
30 AWS_GREENGRASS_API Deployment() = default;
31 AWS_GREENGRASS_API Deployment(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GREENGRASS_API Deployment& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
40 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
41 template <typename CreatedAtT = Aws::String>
42 void SetCreatedAt(CreatedAtT&& value) {
43 m_createdAtHasBeenSet = true;
44 m_createdAt = std::forward<CreatedAtT>(value);
45 }
46 template <typename CreatedAtT = Aws::String>
47 Deployment& WithCreatedAt(CreatedAtT&& value) {
48 SetCreatedAt(std::forward<CreatedAtT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDeploymentArn() const { return m_deploymentArn; }
58 inline bool DeploymentArnHasBeenSet() const { return m_deploymentArnHasBeenSet; }
59 template <typename DeploymentArnT = Aws::String>
60 void SetDeploymentArn(DeploymentArnT&& value) {
61 m_deploymentArnHasBeenSet = true;
62 m_deploymentArn = std::forward<DeploymentArnT>(value);
63 }
64 template <typename DeploymentArnT = Aws::String>
65 Deployment& WithDeploymentArn(DeploymentArnT&& value) {
66 SetDeploymentArn(std::forward<DeploymentArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
76 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
77 template <typename DeploymentIdT = Aws::String>
78 void SetDeploymentId(DeploymentIdT&& value) {
79 m_deploymentIdHasBeenSet = true;
80 m_deploymentId = std::forward<DeploymentIdT>(value);
81 }
82 template <typename DeploymentIdT = Aws::String>
83 Deployment& WithDeploymentId(DeploymentIdT&& value) {
84 SetDeploymentId(std::forward<DeploymentIdT>(value));
85 return *this;
86 }
88
90
93 inline DeploymentType GetDeploymentType() const { return m_deploymentType; }
94 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
95 inline void SetDeploymentType(DeploymentType value) {
96 m_deploymentTypeHasBeenSet = true;
97 m_deploymentType = value;
98 }
100 SetDeploymentType(value);
101 return *this;
102 }
104
106
109 inline const Aws::String& GetGroupArn() const { return m_groupArn; }
110 inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
111 template <typename GroupArnT = Aws::String>
112 void SetGroupArn(GroupArnT&& value) {
113 m_groupArnHasBeenSet = true;
114 m_groupArn = std::forward<GroupArnT>(value);
115 }
116 template <typename GroupArnT = Aws::String>
117 Deployment& WithGroupArn(GroupArnT&& value) {
118 SetGroupArn(std::forward<GroupArnT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_createdAt;
124
125 Aws::String m_deploymentArn;
126
127 Aws::String m_deploymentId;
128
129 DeploymentType m_deploymentType{DeploymentType::NOT_SET};
130
131 Aws::String m_groupArn;
132 bool m_createdAtHasBeenSet = false;
133 bool m_deploymentArnHasBeenSet = false;
134 bool m_deploymentIdHasBeenSet = false;
135 bool m_deploymentTypeHasBeenSet = false;
136 bool m_groupArnHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace Greengrass
141} // namespace Aws
const Aws::String & GetCreatedAt() const
Definition Deployment.h:39
Deployment & WithDeploymentId(DeploymentIdT &&value)
Definition Deployment.h:83
const Aws::String & GetGroupArn() const
Definition Deployment.h:109
void SetCreatedAt(CreatedAtT &&value)
Definition Deployment.h:42
const Aws::String & GetDeploymentId() const
Definition Deployment.h:75
Deployment & WithDeploymentType(DeploymentType value)
Definition Deployment.h:99
Deployment & WithGroupArn(GroupArnT &&value)
Definition Deployment.h:117
const Aws::String & GetDeploymentArn() const
Definition Deployment.h:57
DeploymentType GetDeploymentType() const
Definition Deployment.h:93
AWS_GREENGRASS_API Deployment(Aws::Utils::Json::JsonView jsonValue)
void SetGroupArn(GroupArnT &&value)
Definition Deployment.h:112
AWS_GREENGRASS_API Deployment()=default
AWS_GREENGRASS_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeploymentArn(DeploymentArnT &&value)
Definition Deployment.h:60
void SetDeploymentType(DeploymentType value)
Definition Deployment.h:95
Deployment & WithDeploymentArn(DeploymentArnT &&value)
Definition Deployment.h:65
Deployment & WithCreatedAt(CreatedAtT &&value)
Definition Deployment.h:47
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeploymentId(DeploymentIdT &&value)
Definition Deployment.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue