AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ComponentNameT = Aws::String>
48 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
49 template<typename ComponentNameT = Aws::String>
50 ComponentVersionListItem& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetComponentVersion() const { return m_componentVersion; }
58 inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
59 template<typename ComponentVersionT = Aws::String>
60 void SetComponentVersion(ComponentVersionT&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::forward<ComponentVersionT>(value); }
61 template<typename ComponentVersionT = Aws::String>
62 ComponentVersionListItem& WithComponentVersion(ComponentVersionT&& value) { SetComponentVersion(std::forward<ComponentVersionT>(value)); return *this;}
64
66
71 inline const Aws::String& GetArn() const { return m_arn; }
72 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
73 template<typename ArnT = Aws::String>
74 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
75 template<typename ArnT = Aws::String>
76 ComponentVersionListItem& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
78 private:
79
80 Aws::String m_componentName;
81 bool m_componentNameHasBeenSet = false;
82
83 Aws::String m_componentVersion;
84 bool m_componentVersionHasBeenSet = false;
85
86 Aws::String m_arn;
87 bool m_arnHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace GreengrassV2
92} // namespace Aws
ComponentVersionListItem & WithComponentName(ComponentNameT &&value)
ComponentVersionListItem & WithArn(ArnT &&value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASSV2_API ComponentVersionListItem(Aws::Utils::Json::JsonView jsonValue)
ComponentVersionListItem & WithComponentVersion(ComponentVersionT &&value)
AWS_GREENGRASSV2_API ComponentVersionListItem()=default
AWS_GREENGRASSV2_API ComponentVersionListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue