AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResolvedComponentVersion.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.h>
10#include <aws/greengrassv2/model/VendorGuidance.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GreengrassV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GREENGRASSV2_API ResolvedComponentVersion();
40 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline ResolvedComponentVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline ResolvedComponentVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline ResolvedComponentVersion& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::String& GetComponentName() const{ return m_componentName; }
64 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
65 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
66 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
67 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
68 inline ResolvedComponentVersion& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
69 inline ResolvedComponentVersion& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
70 inline ResolvedComponentVersion& WithComponentName(const char* value) { SetComponentName(value); return *this;}
72
74
77 inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; }
78 inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
79 inline void SetComponentVersion(const Aws::String& value) { m_componentVersionHasBeenSet = true; m_componentVersion = value; }
80 inline void SetComponentVersion(Aws::String&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::move(value); }
81 inline void SetComponentVersion(const char* value) { m_componentVersionHasBeenSet = true; m_componentVersion.assign(value); }
83 inline ResolvedComponentVersion& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;}
84 inline ResolvedComponentVersion& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;}
86
88
91 inline const Aws::Utils::ByteBuffer& GetRecipe() const{ return m_recipe; }
92 inline bool RecipeHasBeenSet() const { return m_recipeHasBeenSet; }
93 inline void SetRecipe(const Aws::Utils::ByteBuffer& value) { m_recipeHasBeenSet = true; m_recipe = value; }
94 inline void SetRecipe(Aws::Utils::ByteBuffer&& value) { m_recipeHasBeenSet = true; m_recipe = std::move(value); }
95 inline ResolvedComponentVersion& WithRecipe(const Aws::Utils::ByteBuffer& value) { SetRecipe(value); return *this;}
96 inline ResolvedComponentVersion& WithRecipe(Aws::Utils::ByteBuffer&& value) { SetRecipe(std::move(value)); return *this;}
98
100
112 inline const VendorGuidance& GetVendorGuidance() const{ return m_vendorGuidance; }
113 inline bool VendorGuidanceHasBeenSet() const { return m_vendorGuidanceHasBeenSet; }
114 inline void SetVendorGuidance(const VendorGuidance& value) { m_vendorGuidanceHasBeenSet = true; m_vendorGuidance = value; }
115 inline void SetVendorGuidance(VendorGuidance&& value) { m_vendorGuidanceHasBeenSet = true; m_vendorGuidance = std::move(value); }
117 inline ResolvedComponentVersion& WithVendorGuidance(VendorGuidance&& value) { SetVendorGuidance(std::move(value)); return *this;}
119
121
126 inline const Aws::String& GetMessage() const{ return m_message; }
127 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
128 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
129 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
130 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
131 inline ResolvedComponentVersion& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
132 inline ResolvedComponentVersion& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
133 inline ResolvedComponentVersion& WithMessage(const char* value) { SetMessage(value); return *this;}
135 private:
136
137 Aws::String m_arn;
138 bool m_arnHasBeenSet = false;
139
140 Aws::String m_componentName;
141 bool m_componentNameHasBeenSet = false;
142
143 Aws::String m_componentVersion;
144 bool m_componentVersionHasBeenSet = false;
145
146 Aws::Utils::ByteBuffer m_recipe;
147 bool m_recipeHasBeenSet = false;
148
149 VendorGuidance m_vendorGuidance;
150 bool m_vendorGuidanceHasBeenSet = false;
151
152 Aws::String m_message;
153 bool m_messageHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace GreengrassV2
158} // namespace Aws
AWS_GREENGRASSV2_API ResolvedComponentVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
ResolvedComponentVersion & WithArn(Aws::String &&value)
ResolvedComponentVersion & WithArn(const char *value)
ResolvedComponentVersion & WithRecipe(const Aws::Utils::ByteBuffer &value)
ResolvedComponentVersion & WithComponentVersion(const char *value)
ResolvedComponentVersion & WithMessage(const Aws::String &value)
ResolvedComponentVersion & WithMessage(Aws::String &&value)
ResolvedComponentVersion & WithComponentName(Aws::String &&value)
ResolvedComponentVersion & WithArn(const Aws::String &value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ResolvedComponentVersion & WithComponentName(const char *value)
ResolvedComponentVersion & WithComponentVersion(Aws::String &&value)
ResolvedComponentVersion & WithRecipe(Aws::Utils::ByteBuffer &&value)
AWS_GREENGRASSV2_API ResolvedComponentVersion(Aws::Utils::Json::JsonView jsonValue)
ResolvedComponentVersion & WithComponentName(const Aws::String &value)
ResolvedComponentVersion & WithVendorGuidance(const VendorGuidance &value)
void SetRecipe(const Aws::Utils::ByteBuffer &value)
ResolvedComponentVersion & WithComponentVersion(const Aws::String &value)
ResolvedComponentVersion & WithVendorGuidance(VendorGuidance &&value)
ResolvedComponentVersion & WithMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue