AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Deployment.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Greengrass
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GREENGRASS_API Deployment() = default;
36 AWS_GREENGRASS_API Deployment(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GREENGRASS_API Deployment& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
46 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
47 template<typename CreatedAtT = Aws::String>
48 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
49 template<typename CreatedAtT = Aws::String>
50 Deployment& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
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) { m_deploymentArnHasBeenSet = true; m_deploymentArn = std::forward<DeploymentArnT>(value); }
61 template<typename DeploymentArnT = Aws::String>
62 Deployment& WithDeploymentArn(DeploymentArnT&& value) { SetDeploymentArn(std::forward<DeploymentArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDeploymentId() const { return m_deploymentId; }
70 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
71 template<typename DeploymentIdT = Aws::String>
72 void SetDeploymentId(DeploymentIdT&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::forward<DeploymentIdT>(value); }
73 template<typename DeploymentIdT = Aws::String>
74 Deployment& WithDeploymentId(DeploymentIdT&& value) { SetDeploymentId(std::forward<DeploymentIdT>(value)); return *this;}
76
78
81 inline DeploymentType GetDeploymentType() const { return m_deploymentType; }
82 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
83 inline void SetDeploymentType(DeploymentType value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
84 inline Deployment& WithDeploymentType(DeploymentType value) { SetDeploymentType(value); return *this;}
86
88
91 inline const Aws::String& GetGroupArn() const { return m_groupArn; }
92 inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
93 template<typename GroupArnT = Aws::String>
94 void SetGroupArn(GroupArnT&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::forward<GroupArnT>(value); }
95 template<typename GroupArnT = Aws::String>
96 Deployment& WithGroupArn(GroupArnT&& value) { SetGroupArn(std::forward<GroupArnT>(value)); return *this;}
98 private:
99
100 Aws::String m_createdAt;
101 bool m_createdAtHasBeenSet = false;
102
103 Aws::String m_deploymentArn;
104 bool m_deploymentArnHasBeenSet = false;
105
106 Aws::String m_deploymentId;
107 bool m_deploymentIdHasBeenSet = false;
108
109 DeploymentType m_deploymentType{DeploymentType::NOT_SET};
110 bool m_deploymentTypeHasBeenSet = false;
111
112 Aws::String m_groupArn;
113 bool m_groupArnHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Greengrass
118} // namespace Aws
const Aws::String & GetCreatedAt() const
Definition Deployment.h:45
Deployment & WithDeploymentId(DeploymentIdT &&value)
Definition Deployment.h:74
const Aws::String & GetGroupArn() const
Definition Deployment.h:91
void SetCreatedAt(CreatedAtT &&value)
Definition Deployment.h:48
const Aws::String & GetDeploymentId() const
Definition Deployment.h:69
Deployment & WithDeploymentType(DeploymentType value)
Definition Deployment.h:84
Deployment & WithGroupArn(GroupArnT &&value)
Definition Deployment.h:96
const Aws::String & GetDeploymentArn() const
Definition Deployment.h:57
DeploymentType GetDeploymentType() const
Definition Deployment.h:81
AWS_GREENGRASS_API Deployment(Aws::Utils::Json::JsonView jsonValue)
void SetGroupArn(GroupArnT &&value)
Definition Deployment.h:94
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:83
Deployment & WithDeploymentArn(DeploymentArnT &&value)
Definition Deployment.h:62
Deployment & WithCreatedAt(CreatedAtT &&value)
Definition Deployment.h:50
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeploymentId(DeploymentIdT &&value)
Definition Deployment.h:72
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue