AWS SDK for C++  1.9.123
AWS SDK for C++
ComponentVersionListItem.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace GreengrassV2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetComponentName() const{ return m_componentName; }
45 
49  inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
50 
54  inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
55 
59  inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
60 
64  inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
65 
69  inline ComponentVersionListItem& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
70 
74  inline ComponentVersionListItem& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
75 
79  inline ComponentVersionListItem& WithComponentName(const char* value) { SetComponentName(value); return *this;}
80 
81 
85  inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
86 
90  inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
91 
95  inline void SetComponentVersion(const Aws::String& value) { m_componentVersionHasBeenSet = true; m_componentVersion = value; }
96 
100  inline void SetComponentVersion(Aws::String&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::move(value); }
101 
105  inline void SetComponentVersion(const char* value) { m_componentVersionHasBeenSet = true; m_componentVersion.assign(value); }
106 
110  inline ComponentVersionListItem& WithComponentVersion(const Aws::String& value) { SetComponentVersion(value); return *this;}
111 
115  inline ComponentVersionListItem& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
116 
120  inline ComponentVersionListItem& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
121 
122 
128  inline const Aws::String& GetArn() const{ return m_arn; }
129 
135  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
136 
142  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
143 
149  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
150 
156  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
157 
163  inline ComponentVersionListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
164 
170  inline ComponentVersionListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
171 
177  inline ComponentVersionListItem& WithArn(const char* value) { SetArn(value); return *this;}
178 
179  private:
180 
181  Aws::String m_componentName;
182  bool m_componentNameHasBeenSet;
183 
184  Aws::String m_componentVersion;
185  bool m_componentVersionHasBeenSet;
186 
187  Aws::String m_arn;
188  bool m_arnHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace GreengrassV2
193 } // namespace Aws
Aws::GreengrassV2::Model::ComponentVersionListItem::WithArn
ComponentVersionListItem & WithArn(const Aws::String &value)
Definition: ComponentVersionListItem.h:163
Aws::GreengrassV2::Model::ComponentVersionListItem::WithComponentName
ComponentVersionListItem & WithComponentName(const char *value)
Definition: ComponentVersionListItem.h:79
Aws::GreengrassV2::Model::ComponentVersionListItem::WithComponentVersion
ComponentVersionListItem & WithComponentVersion(Aws::String &&value)
Definition: ComponentVersionListItem.h:115
Aws::GreengrassV2::Model::ComponentVersionListItem::SetComponentName
void SetComponentName(const Aws::String &value)
Definition: ComponentVersionListItem.h:54
Aws::GreengrassV2::Model::ComponentVersionListItem::WithArn
ComponentVersionListItem & WithArn(Aws::String &&value)
Definition: ComponentVersionListItem.h:170
Aws::GreengrassV2::Model::ComponentVersionListItem::WithComponentVersion
ComponentVersionListItem & WithComponentVersion(const char *value)
Definition: ComponentVersionListItem.h:120
Aws::GreengrassV2::Model::ComponentVersionListItem::WithArn
ComponentVersionListItem & WithArn(const char *value)
Definition: ComponentVersionListItem.h:177
Aws::GreengrassV2::Model::ComponentVersionListItem::GetArn
const Aws::String & GetArn() const
Definition: ComponentVersionListItem.h:128
Aws::GreengrassV2::Model::ComponentVersionListItem::GetComponentVersion
const Aws::String & GetComponentVersion() const
Definition: ComponentVersionListItem.h:85
Aws::GreengrassV2::Model::ComponentVersionListItem::operator=
ComponentVersionListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::ComponentVersionListItem::ComponentVersionListItem
ComponentVersionListItem()
Aws::GreengrassV2::Model::ComponentVersionListItem::WithComponentName
ComponentVersionListItem & WithComponentName(Aws::String &&value)
Definition: ComponentVersionListItem.h:74
Aws::GreengrassV2::Model::ComponentVersionListItem::WithComponentVersion
ComponentVersionListItem & WithComponentVersion(const Aws::String &value)
Definition: ComponentVersionListItem.h:110
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::ComponentVersionListItem::SetComponentVersion
void SetComponentVersion(const Aws::String &value)
Definition: ComponentVersionListItem.h:95
Aws::GreengrassV2::Model::ComponentVersionListItem::SetArn
void SetArn(const Aws::String &value)
Definition: ComponentVersionListItem.h:142
Aws::GreengrassV2::Model::ComponentVersionListItem::SetComponentName
void SetComponentName(Aws::String &&value)
Definition: ComponentVersionListItem.h:59
Aws::GreengrassV2::Model::ComponentVersionListItem::SetArn
void SetArn(const char *value)
Definition: ComponentVersionListItem.h:156
Aws::GreengrassV2::Model::ComponentVersionListItem::ComponentVersionListItem
ComponentVersionListItem(Aws::Utils::Json::JsonView jsonValue)
Aws::GreengrassV2::Model::ComponentVersionListItem::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ComponentVersionListItem.h:135
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::GreengrassV2::Model::ComponentVersionListItem::GetComponentName
const Aws::String & GetComponentName() const
Definition: ComponentVersionListItem.h:44
Aws::GreengrassV2::Model::ComponentVersionListItem::SetComponentVersion
void SetComponentVersion(const char *value)
Definition: ComponentVersionListItem.h:105
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GreengrassV2::Model::ComponentVersionListItem::ComponentNameHasBeenSet
bool ComponentNameHasBeenSet() const
Definition: ComponentVersionListItem.h:49
Aws::GreengrassV2::Model::ComponentVersionListItem::ComponentVersionHasBeenSet
bool ComponentVersionHasBeenSet() const
Definition: ComponentVersionListItem.h:90
Aws::GreengrassV2::Model::ComponentVersionListItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GreengrassV2::Model::ComponentVersionListItem::SetComponentName
void SetComponentName(const char *value)
Definition: ComponentVersionListItem.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::ComponentVersionListItem::WithComponentName
ComponentVersionListItem & WithComponentName(const Aws::String &value)
Definition: ComponentVersionListItem.h:69
Aws::GreengrassV2::Model::ComponentVersionListItem::SetArn
void SetArn(Aws::String &&value)
Definition: ComponentVersionListItem.h:149
Aws::GreengrassV2::Model::ComponentVersionListItem::SetComponentVersion
void SetComponentVersion(Aws::String &&value)
Definition: ComponentVersionListItem.h:100
Aws::GreengrassV2::Model::ComponentVersionListItem
Definition: ComponentVersionListItem.h:33