AWS SDK for C++  1.9.123
AWS SDK for C++
GetComponentResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <aws/core/utils/Array.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace GreengrassV2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const RecipeOutputFormat& GetRecipeOutputFormat() const{ return m_recipeOutputFormat; }
42 
46  inline void SetRecipeOutputFormat(const RecipeOutputFormat& value) { m_recipeOutputFormat = value; }
47 
51  inline void SetRecipeOutputFormat(RecipeOutputFormat&& value) { m_recipeOutputFormat = std::move(value); }
52 
56  inline GetComponentResult& WithRecipeOutputFormat(const RecipeOutputFormat& value) { SetRecipeOutputFormat(value); return *this;}
57 
61  inline GetComponentResult& WithRecipeOutputFormat(RecipeOutputFormat&& value) { SetRecipeOutputFormat(std::move(value)); return *this;}
62 
63 
67  inline const Aws::Utils::ByteBuffer& GetRecipe() const{ return m_recipe; }
68 
72  inline void SetRecipe(const Aws::Utils::ByteBuffer& value) { m_recipe = value; }
73 
77  inline void SetRecipe(Aws::Utils::ByteBuffer&& value) { m_recipe = std::move(value); }
78 
82  inline GetComponentResult& WithRecipe(const Aws::Utils::ByteBuffer& value) { SetRecipe(value); return *this;}
83 
87  inline GetComponentResult& WithRecipe(Aws::Utils::ByteBuffer&& value) { SetRecipe(std::move(value)); return *this;}
88 
89 
96  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
97 
104  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
105 
112  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
113 
120  inline GetComponentResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
121 
128  inline GetComponentResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
129 
136  inline GetComponentResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
137 
144  inline GetComponentResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
145 
152  inline GetComponentResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
153 
160  inline GetComponentResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
161 
168  inline GetComponentResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
169 
176  inline GetComponentResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
177 
184  inline GetComponentResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
185 
186  private:
187 
188  RecipeOutputFormat m_recipeOutputFormat;
189 
190  Aws::Utils::ByteBuffer m_recipe;
191 
193  };
194 
195 } // namespace Model
196 } // namespace GreengrassV2
197 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GreengrassV2::Model::GetComponentResult::AddTags
GetComponentResult & AddTags(const char *key, Aws::String &&value)
Definition: GetComponentResult.h:168
Aws::GreengrassV2::Model::GetComponentResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GetComponentResult.h:96
Aws::GreengrassV2::Model::GetComponentResult::WithRecipe
GetComponentResult & WithRecipe(Aws::Utils::ByteBuffer &&value)
Definition: GetComponentResult.h:87
Aws::GreengrassV2::Model::GetComponentResult::WithTags
GetComponentResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetComponentResult.h:128
GreengrassV2_EXPORTS.h
Aws::GreengrassV2::Model::GetComponentResult::AddTags
GetComponentResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GetComponentResult.h:144
Aws::GreengrassV2::Model::GetComponentResult::GetRecipeOutputFormat
const RecipeOutputFormat & GetRecipeOutputFormat() const
Definition: GetComponentResult.h:41
RecipeOutputFormat.h
Aws::GreengrassV2::Model::GetComponentResult
Definition: GetComponentResult.h:31
AWS_GREENGRASSV2_API
#define AWS_GREENGRASSV2_API
Definition: GreengrassV2_EXPORTS.h:28
Aws::GreengrassV2::Model::GetComponentResult::WithRecipeOutputFormat
GetComponentResult & WithRecipeOutputFormat(RecipeOutputFormat &&value)
Definition: GetComponentResult.h:61
Aws::GreengrassV2::Model::GetComponentResult::operator=
GetComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GreengrassV2::Model::GetComponentResult::AddTags
GetComponentResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GetComponentResult.h:160
Aws::GreengrassV2::Model::GetComponentResult::GetComponentResult
GetComponentResult()
Aws::GreengrassV2::Model::GetComponentResult::GetRecipe
const Aws::Utils::ByteBuffer & GetRecipe() const
Definition: GetComponentResult.h:67
Aws::GreengrassV2::Model::GetComponentResult::AddTags
GetComponentResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GetComponentResult.h:136
Aws::GreengrassV2::Model::GetComponentResult::SetRecipe
void SetRecipe(const Aws::Utils::ByteBuffer &value)
Definition: GetComponentResult.h:72
Aws::GreengrassV2::Model::GetComponentResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetComponentResult.h:104
Aws::GreengrassV2::Model::GetComponentResult::SetRecipe
void SetRecipe(Aws::Utils::ByteBuffer &&value)
Definition: GetComponentResult.h:77
Aws::GreengrassV2::Model::GetComponentResult::WithRecipeOutputFormat
GetComponentResult & WithRecipeOutputFormat(const RecipeOutputFormat &value)
Definition: GetComponentResult.h:56
Aws::Utils::Array< unsigned char >
AWSString.h
Aws::GreengrassV2::Model::GetComponentResult::AddTags
GetComponentResult & AddTags(const char *key, const char *value)
Definition: GetComponentResult.h:184
Aws::GreengrassV2::Model::GetComponentResult::AddTags
GetComponentResult & AddTags(Aws::String &&key, const char *value)
Definition: GetComponentResult.h:176
Aws
Definition: AccessManagementClient.h:15
Array.h
Aws::GreengrassV2::Model::GetComponentResult::AddTags
GetComponentResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GetComponentResult.h:152
Aws::GreengrassV2::Model::RecipeOutputFormat
RecipeOutputFormat
Definition: RecipeOutputFormat.h:17
Aws::GreengrassV2::Model::GetComponentResult::WithTags
GetComponentResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetComponentResult.h:120
Aws::GreengrassV2::Model::GetComponentResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetComponentResult.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GreengrassV2::Model::GetComponentResult::WithRecipe
GetComponentResult & WithRecipe(const Aws::Utils::ByteBuffer &value)
Definition: GetComponentResult.h:82
Aws::GreengrassV2::Model::GetComponentResult::SetRecipeOutputFormat
void SetRecipeOutputFormat(RecipeOutputFormat &&value)
Definition: GetComponentResult.h:51
AWSMap.h
Aws::GreengrassV2::Model::GetComponentResult::SetRecipeOutputFormat
void SetRecipeOutputFormat(const RecipeOutputFormat &value)
Definition: GetComponentResult.h:46
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::GreengrassV2::Model::GetComponentResult::GetComponentResult
GetComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)