AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentVersionListItem.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GreengrassV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GREENGRASSV2_API ComponentVersionListItem();
38 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetComponentName() const{ return m_componentName; }
46 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
47 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
48 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
49 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
50 inline ComponentVersionListItem& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
51 inline ComponentVersionListItem& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
52 inline ComponentVersionListItem& WithComponentName(const char* value) { SetComponentName(value); return *this;}
54
56
59 inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
60 inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
61 inline void SetComponentVersion(const Aws::String& value) { m_componentVersionHasBeenSet = true; m_componentVersion = value; }
62 inline void SetComponentVersion(Aws::String&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::move(value); }
63 inline void SetComponentVersion(const char* value) { m_componentVersionHasBeenSet = true; m_componentVersion.assign(value); }
65 inline ComponentVersionListItem& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
66 inline ComponentVersionListItem& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
68
70
75 inline const Aws::String& GetArn() const{ return m_arn; }
76 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
77 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
78 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
79 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
80 inline ComponentVersionListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
81 inline ComponentVersionListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
82 inline ComponentVersionListItem& WithArn(const char* value) { SetArn(value); return *this;}
84 private:
85
86 Aws::String m_componentName;
87 bool m_componentNameHasBeenSet = false;
88
89 Aws::String m_componentVersion;
90 bool m_componentVersionHasBeenSet = false;
91
92 Aws::String m_arn;
93 bool m_arnHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace GreengrassV2
98} // namespace Aws
ComponentVersionListItem & WithComponentVersion(Aws::String &&value)
ComponentVersionListItem & WithArn(const Aws::String &value)
ComponentVersionListItem & WithComponentVersion(const Aws::String &value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentVersionListItem & WithComponentVersion(const char *value)
AWS_GREENGRASSV2_API ComponentVersionListItem(Aws::Utils::Json::JsonView jsonValue)
ComponentVersionListItem & WithComponentName(Aws::String &&value)
ComponentVersionListItem & WithArn(Aws::String &&value)
ComponentVersionListItem & WithComponentName(const Aws::String &value)
ComponentVersionListItem & WithComponentName(const char *value)
AWS_GREENGRASSV2_API ComponentVersionListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentVersionListItem & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue