AWS SDK for C++  1.9.122
AWS SDK for C++
ResolvedComponentVersion.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <aws/core/utils/Array.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace GreengrassV2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
47  inline const Aws::String& GetArn() const{ return m_arn; }
48 
54  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
55 
61  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
62 
68  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
69 
75  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
76 
82  inline ResolvedComponentVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
83 
89  inline ResolvedComponentVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
90 
96  inline ResolvedComponentVersion& WithArn(const char* value) { SetArn(value); return *this;}
97 
98 
102  inline const Aws::String& GetComponentName() const{ return m_componentName; }
103 
107  inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
108 
112  inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
113 
117  inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
118 
122  inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
123 
127  inline ResolvedComponentVersion& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
128 
132  inline ResolvedComponentVersion& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
133 
137  inline ResolvedComponentVersion& WithComponentName(const char* value) { SetComponentName(value); return *this;}
138 
139 
143  inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
144 
148  inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
149 
153  inline void SetComponentVersion(const Aws::String& value) { m_componentVersionHasBeenSet = true; m_componentVersion = value; }
154 
158  inline void SetComponentVersion(Aws::String&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::move(value); }
159 
163  inline void SetComponentVersion(const char* value) { m_componentVersionHasBeenSet = true; m_componentVersion.assign(value); }
164 
168  inline ResolvedComponentVersion& WithComponentVersion(const Aws::String& value) { SetComponentVersion(value); return *this;}
169 
173  inline ResolvedComponentVersion& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
174 
178  inline ResolvedComponentVersion& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
179 
180 
184  inline const Aws::Utils::ByteBuffer& GetRecipe() const{ return m_recipe; }
185 
189  inline bool RecipeHasBeenSet() const { return m_recipeHasBeenSet; }
190 
194  inline void SetRecipe(const Aws::Utils::ByteBuffer& value) { m_recipeHasBeenSet = true; m_recipe = value; }
195 
199  inline void SetRecipe(Aws::Utils::ByteBuffer&& value) { m_recipeHasBeenSet = true; m_recipe = std::move(value); }
200 
204  inline ResolvedComponentVersion& WithRecipe(const Aws::Utils::ByteBuffer& value) { SetRecipe(value); return *this;}
205 
209  inline ResolvedComponentVersion& WithRecipe(Aws::Utils::ByteBuffer&& value) { SetRecipe(std::move(value)); return *this;}
210 
211  private:
212 
213  Aws::String m_arn;
214  bool m_arnHasBeenSet;
215 
216  Aws::String m_componentName;
217  bool m_componentNameHasBeenSet;
218 
219  Aws::String m_componentVersion;
220  bool m_componentVersionHasBeenSet;
221 
222  Aws::Utils::ByteBuffer m_recipe;
223  bool m_recipeHasBeenSet;
224  };
225 
226 } // namespace Model
227 } // namespace GreengrassV2
228 } // namespace Aws
Aws::GreengrassV2::Model::ResolvedComponentVersion::WithComponentVersion
ResolvedComponentVersion & WithComponentVersion(const Aws::String &value)
Definition: ResolvedComponentVersion.h:168
Aws::GreengrassV2::Model::ResolvedComponentVersion::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ResolvedComponentVersion.h:54
Aws::GreengrassV2::Model::ResolvedComponentVersion::GetComponentVersion
const Aws::String & GetComponentVersion() const
Definition: ResolvedComponentVersion.h:143
Aws::GreengrassV2::Model::ResolvedComponentVersion::GetComponentName
const Aws::String & GetComponentName() const
Definition: ResolvedComponentVersion.h:102
Aws::GreengrassV2::Model::ResolvedComponentVersion::WithArn
ResolvedComponentVersion & WithArn(const Aws::String &value)
Definition: ResolvedComponentVersion.h:82
Aws::GreengrassV2::Model::ResolvedComponentVersion::SetComponentVersion
void SetComponentVersion(const char *value)
Definition: ResolvedComponentVersion.h:163
Aws::GreengrassV2::Model::ResolvedComponentVersion::SetComponentName
void SetComponentName(const Aws::String &value)
Definition: ResolvedComponentVersion.h:112
Aws::GreengrassV2::Model::ResolvedComponentVersion::ComponentVersionHasBeenSet
bool ComponentVersionHasBeenSet() const
Definition: ResolvedComponentVersion.h:148
Aws::GreengrassV2::Model::ResolvedComponentVersion::WithArn
ResolvedComponentVersion & WithArn(const char *value)
Definition: ResolvedComponentVersion.h:96
Aws::GreengrassV2::Model::ResolvedComponentVersion::GetArn
const Aws::String & GetArn() const
Definition: ResolvedComponentVersion.h:47
Aws::GreengrassV2::Model::ResolvedComponentVersion::SetComponentVersion
void SetComponentVersion(const Aws::String &value)
Definition: ResolvedComponentVersion.h:153
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::ResolvedComponentVersion::WithRecipe
ResolvedComponentVersion & WithRecipe(Aws::Utils::ByteBuffer &&value)
Definition: ResolvedComponentVersion.h:209
Aws::GreengrassV2::Model::ResolvedComponentVersion::SetRecipe
void SetRecipe(const Aws::Utils::ByteBuffer &value)
Definition: ResolvedComponentVersion.h:194
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::ResolvedComponentVersion::operator=
ResolvedComponentVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::ResolvedComponentVersion::WithComponentName
ResolvedComponentVersion & WithComponentName(Aws::String &&value)
Definition: ResolvedComponentVersion.h:132
Aws::GreengrassV2::Model::ResolvedComponentVersion::SetComponentVersion
void SetComponentVersion(Aws::String &&value)
Definition: ResolvedComponentVersion.h:158
Aws::GreengrassV2::Model::ResolvedComponentVersion::WithComponentName
ResolvedComponentVersion & WithComponentName(const char *value)
Definition: ResolvedComponentVersion.h:137
Aws::GreengrassV2::Model::ResolvedComponentVersion::WithComponentName
ResolvedComponentVersion & WithComponentName(const Aws::String &value)
Definition: ResolvedComponentVersion.h:127
Aws::GreengrassV2::Model::ResolvedComponentVersion::SetComponentName
void SetComponentName(Aws::String &&value)
Definition: ResolvedComponentVersion.h:117
Aws::GreengrassV2::Model::ResolvedComponentVersion::SetRecipe
void SetRecipe(Aws::Utils::ByteBuffer &&value)
Definition: ResolvedComponentVersion.h:199
Aws::GreengrassV2::Model::ResolvedComponentVersion::ComponentNameHasBeenSet
bool ComponentNameHasBeenSet() const
Definition: ResolvedComponentVersion.h:107
Aws::GreengrassV2::Model::ResolvedComponentVersion::SetArn
void SetArn(const char *value)
Definition: ResolvedComponentVersion.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Array< unsigned char >
Aws::GreengrassV2::Model::ResolvedComponentVersion::WithArn
ResolvedComponentVersion & WithArn(Aws::String &&value)
Definition: ResolvedComponentVersion.h:89
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::ResolvedComponentVersion::SetArn
void SetArn(const Aws::String &value)
Definition: ResolvedComponentVersion.h:61
Aws::GreengrassV2::Model::ResolvedComponentVersion
Definition: ResolvedComponentVersion.h:34
Aws::GreengrassV2::Model::ResolvedComponentVersion::RecipeHasBeenSet
bool RecipeHasBeenSet() const
Definition: ResolvedComponentVersion.h:189
Aws::GreengrassV2::Model::ResolvedComponentVersion::GetRecipe
const Aws::Utils::ByteBuffer & GetRecipe() const
Definition: ResolvedComponentVersion.h:184
Aws::GreengrassV2::Model::ResolvedComponentVersion::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::ResolvedComponentVersion::WithRecipe
ResolvedComponentVersion & WithRecipe(const Aws::Utils::ByteBuffer &value)
Definition: ResolvedComponentVersion.h:204
Aws
Definition: AccessManagementClient.h:15
Aws::GreengrassV2::Model::ResolvedComponentVersion::WithComponentVersion
ResolvedComponentVersion & WithComponentVersion(Aws::String &&value)
Definition: ResolvedComponentVersion.h:173
Array.h
Aws::GreengrassV2::Model::ResolvedComponentVersion::SetComponentName
void SetComponentName(const char *value)
Definition: ResolvedComponentVersion.h:122
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::ResolvedComponentVersion::ResolvedComponentVersion
ResolvedComponentVersion()
Aws::GreengrassV2::Model::ResolvedComponentVersion::SetArn
void SetArn(Aws::String &&value)
Definition: ResolvedComponentVersion.h:68
Aws::GreengrassV2::Model::ResolvedComponentVersion::WithComponentVersion
ResolvedComponentVersion & WithComponentVersion(const char *value)
Definition: ResolvedComponentVersion.h:178
Aws::GreengrassV2::Model::ResolvedComponentVersion::ResolvedComponentVersion
ResolvedComponentVersion(Aws::Utils::Json::JsonView jsonValue)