AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 ResolvedComponentVersion& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetComponentName() const { return m_componentName; }
62 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
63 template<typename ComponentNameT = Aws::String>
64 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
65 template<typename ComponentNameT = Aws::String>
66 ResolvedComponentVersion& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetComponentVersion() const { return m_componentVersion; }
74 inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; }
75 template<typename ComponentVersionT = Aws::String>
76 void SetComponentVersion(ComponentVersionT&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::forward<ComponentVersionT>(value); }
77 template<typename ComponentVersionT = Aws::String>
78 ResolvedComponentVersion& WithComponentVersion(ComponentVersionT&& value) { SetComponentVersion(std::forward<ComponentVersionT>(value)); return *this;}
80
82
85 inline const Aws::Utils::ByteBuffer& GetRecipe() const { return m_recipe; }
86 inline bool RecipeHasBeenSet() const { return m_recipeHasBeenSet; }
87 template<typename RecipeT = Aws::Utils::ByteBuffer>
88 void SetRecipe(RecipeT&& value) { m_recipeHasBeenSet = true; m_recipe = std::forward<RecipeT>(value); }
89 template<typename RecipeT = Aws::Utils::ByteBuffer>
90 ResolvedComponentVersion& WithRecipe(RecipeT&& value) { SetRecipe(std::forward<RecipeT>(value)); return *this;}
92
94
106 inline VendorGuidance GetVendorGuidance() const { return m_vendorGuidance; }
107 inline bool VendorGuidanceHasBeenSet() const { return m_vendorGuidanceHasBeenSet; }
108 inline void SetVendorGuidance(VendorGuidance value) { m_vendorGuidanceHasBeenSet = true; m_vendorGuidance = value; }
111
113
118 inline const Aws::String& GetMessage() const { return m_message; }
119 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
120 template<typename MessageT = Aws::String>
121 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
122 template<typename MessageT = Aws::String>
123 ResolvedComponentVersion& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
125 private:
126
127 Aws::String m_arn;
128 bool m_arnHasBeenSet = false;
129
130 Aws::String m_componentName;
131 bool m_componentNameHasBeenSet = false;
132
133 Aws::String m_componentVersion;
134 bool m_componentVersionHasBeenSet = false;
135
136 Aws::Utils::ByteBuffer m_recipe{};
137 bool m_recipeHasBeenSet = false;
138
139 VendorGuidance m_vendorGuidance{VendorGuidance::NOT_SET};
140 bool m_vendorGuidanceHasBeenSet = false;
141
142 Aws::String m_message;
143 bool m_messageHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace GreengrassV2
148} // namespace Aws
AWS_GREENGRASSV2_API ResolvedComponentVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
ResolvedComponentVersion & WithMessage(MessageT &&value)
ResolvedComponentVersion & WithComponentName(ComponentNameT &&value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ResolvedComponentVersion & WithRecipe(RecipeT &&value)
AWS_GREENGRASSV2_API ResolvedComponentVersion(Aws::Utils::Json::JsonView jsonValue)
ResolvedComponentVersion & WithArn(ArnT &&value)
ResolvedComponentVersion & WithVendorGuidance(VendorGuidance value)
AWS_GREENGRASSV2_API ResolvedComponentVersion()=default
ResolvedComponentVersion & WithComponentVersion(ComponentVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue