AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedAt(const Aws::String& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
48 inline void SetCreatedAt(Aws::String&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
49 inline void SetCreatedAt(const char* value) { m_createdAtHasBeenSet = true; m_createdAt.assign(value); }
50 inline Deployment& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
51 inline Deployment& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
52 inline Deployment& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
54
56
59 inline const Aws::String& GetDeploymentArn() const{ return m_deploymentArn; }
60 inline bool DeploymentArnHasBeenSet() const { return m_deploymentArnHasBeenSet; }
61 inline void SetDeploymentArn(const Aws::String& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = value; }
62 inline void SetDeploymentArn(Aws::String&& value) { m_deploymentArnHasBeenSet = true; m_deploymentArn = std::move(value); }
63 inline void SetDeploymentArn(const char* value) { m_deploymentArnHasBeenSet = true; m_deploymentArn.assign(value); }
64 inline Deployment& WithDeploymentArn(const Aws::String& value) { SetDeploymentArn(value); return *this;}
65 inline Deployment& WithDeploymentArn(Aws::String&& value) { SetDeploymentArn(std::move(value)); return *this;}
66 inline Deployment& WithDeploymentArn(const char* value) { SetDeploymentArn(value); return *this;}
68
70
73 inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
74 inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
75 inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
76 inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
77 inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
78 inline Deployment& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
79 inline Deployment& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
80 inline Deployment& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
82
84
87 inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; }
88 inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
89 inline void SetDeploymentType(const DeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
90 inline void SetDeploymentType(DeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); }
91 inline Deployment& WithDeploymentType(const DeploymentType& value) { SetDeploymentType(value); return *this;}
92 inline Deployment& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetGroupArn() const{ return m_groupArn; }
100 inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
101 inline void SetGroupArn(const Aws::String& value) { m_groupArnHasBeenSet = true; m_groupArn = value; }
102 inline void SetGroupArn(Aws::String&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::move(value); }
103 inline void SetGroupArn(const char* value) { m_groupArnHasBeenSet = true; m_groupArn.assign(value); }
104 inline Deployment& WithGroupArn(const Aws::String& value) { SetGroupArn(value); return *this;}
105 inline Deployment& WithGroupArn(Aws::String&& value) { SetGroupArn(std::move(value)); return *this;}
106 inline Deployment& WithGroupArn(const char* value) { SetGroupArn(value); return *this;}
108 private:
109
110 Aws::String m_createdAt;
111 bool m_createdAtHasBeenSet = false;
112
113 Aws::String m_deploymentArn;
114 bool m_deploymentArnHasBeenSet = false;
115
116 Aws::String m_deploymentId;
117 bool m_deploymentIdHasBeenSet = false;
118
119 DeploymentType m_deploymentType;
120 bool m_deploymentTypeHasBeenSet = false;
121
122 Aws::String m_groupArn;
123 bool m_groupArnHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Greengrass
128} // namespace Aws
void SetGroupArn(const char *value)
Definition Deployment.h:103
const Aws::String & GetCreatedAt() const
Definition Deployment.h:45
Deployment & WithDeploymentType(DeploymentType &&value)
Definition Deployment.h:92
void SetGroupArn(Aws::String &&value)
Definition Deployment.h:102
Deployment & WithDeploymentType(const DeploymentType &value)
Definition Deployment.h:91
Deployment & WithDeploymentArn(const Aws::String &value)
Definition Deployment.h:64
Deployment & WithCreatedAt(const char *value)
Definition Deployment.h:52
const Aws::String & GetGroupArn() const
Definition Deployment.h:99
const Aws::String & GetDeploymentId() const
Definition Deployment.h:73
void SetDeploymentType(DeploymentType &&value)
Definition Deployment.h:90
void SetDeploymentArn(Aws::String &&value)
Definition Deployment.h:62
const DeploymentType & GetDeploymentType() const
Definition Deployment.h:87
const Aws::String & GetDeploymentArn() const
Definition Deployment.h:59
Deployment & WithDeploymentId(Aws::String &&value)
Definition Deployment.h:79
void SetDeploymentType(const DeploymentType &value)
Definition Deployment.h:89
Deployment & WithDeploymentId(const char *value)
Definition Deployment.h:80
void SetDeploymentId(const char *value)
Definition Deployment.h:77
void SetDeploymentArn(const Aws::String &value)
Definition Deployment.h:61
AWS_GREENGRASS_API Deployment(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const char *value)
Definition Deployment.h:49
AWS_GREENGRASS_API Deployment & operator=(Aws::Utils::Json::JsonView jsonValue)
Deployment & WithCreatedAt(const Aws::String &value)
Definition Deployment.h:50
void SetCreatedAt(const Aws::String &value)
Definition Deployment.h:47
Deployment & WithDeploymentId(const Aws::String &value)
Definition Deployment.h:78
void SetDeploymentArn(const char *value)
Definition Deployment.h:63
Deployment & WithGroupArn(Aws::String &&value)
Definition Deployment.h:105
Deployment & WithDeploymentArn(const char *value)
Definition Deployment.h:66
Deployment & WithGroupArn(const Aws::String &value)
Definition Deployment.h:104
Deployment & WithDeploymentArn(Aws::String &&value)
Definition Deployment.h:65
AWS_GREENGRASS_API Deployment()
void SetDeploymentId(const Aws::String &value)
Definition Deployment.h:75
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
Deployment & WithGroupArn(const char *value)
Definition Deployment.h:106
Deployment & WithCreatedAt(Aws::String &&value)
Definition Deployment.h:51
void SetGroupArn(const Aws::String &value)
Definition Deployment.h:101
void SetCreatedAt(Aws::String &&value)
Definition Deployment.h:48
void SetDeploymentId(Aws::String &&value)
Definition Deployment.h:76
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue