AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentActionSummary.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/ActionParameters.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 DataZone
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_DATAZONE_API EnvironmentActionSummary();
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDescription() const{ return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
51 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
52 inline EnvironmentActionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline EnvironmentActionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline EnvironmentActionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
61 inline const Aws::String& GetDomainId() const{ return m_domainId; }
62 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
63 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
64 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
65 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
66 inline EnvironmentActionSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
67 inline EnvironmentActionSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
68 inline EnvironmentActionSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;}
70
72
75 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
76 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
77 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
78 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
79 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
80 inline EnvironmentActionSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
81 inline EnvironmentActionSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
82 inline EnvironmentActionSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
84
86
89 inline const Aws::String& GetId() const{ return m_id; }
90 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
91 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
92 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
93 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
94 inline EnvironmentActionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
95 inline EnvironmentActionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
96 inline EnvironmentActionSummary& WithId(const char* value) { SetId(value); return *this;}
98
100
103 inline const Aws::String& GetName() const{ return m_name; }
104 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
105 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
106 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
107 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
108 inline EnvironmentActionSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
109 inline EnvironmentActionSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 inline EnvironmentActionSummary& WithName(const char* value) { SetName(value); return *this;}
112
114
117 inline const ActionParameters& GetParameters() const{ return m_parameters; }
118 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
119 inline void SetParameters(const ActionParameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
120 inline void SetParameters(ActionParameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
121 inline EnvironmentActionSummary& WithParameters(const ActionParameters& value) { SetParameters(value); return *this;}
122 inline EnvironmentActionSummary& WithParameters(ActionParameters&& value) { SetParameters(std::move(value)); return *this;}
124 private:
125
126 Aws::String m_description;
127 bool m_descriptionHasBeenSet = false;
128
129 Aws::String m_domainId;
130 bool m_domainIdHasBeenSet = false;
131
132 Aws::String m_environmentId;
133 bool m_environmentIdHasBeenSet = false;
134
135 Aws::String m_id;
136 bool m_idHasBeenSet = false;
137
138 Aws::String m_name;
139 bool m_nameHasBeenSet = false;
140
141 ActionParameters m_parameters;
142 bool m_parametersHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace DataZone
147} // namespace Aws
EnvironmentActionSummary & WithEnvironmentId(const Aws::String &value)
EnvironmentActionSummary & WithParameters(ActionParameters &&value)
EnvironmentActionSummary & WithDescription(const Aws::String &value)
EnvironmentActionSummary & WithDescription(const char *value)
EnvironmentActionSummary & WithDomainId(Aws::String &&value)
EnvironmentActionSummary & WithName(const char *value)
EnvironmentActionSummary & WithName(Aws::String &&value)
EnvironmentActionSummary & WithId(Aws::String &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentActionSummary & WithParameters(const ActionParameters &value)
EnvironmentActionSummary & WithDomainId(const Aws::String &value)
EnvironmentActionSummary & WithEnvironmentId(const char *value)
EnvironmentActionSummary & WithDomainId(const char *value)
EnvironmentActionSummary & WithId(const Aws::String &value)
EnvironmentActionSummary & WithDescription(Aws::String &&value)
AWS_DATAZONE_API EnvironmentActionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API EnvironmentActionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentActionSummary & WithId(const char *value)
EnvironmentActionSummary & WithEnvironmentId(Aws::String &&value)
EnvironmentActionSummary & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue