AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetComponentResult.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/greengrassv2/model/RecipeOutputFormat.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GreengrassV2
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GREENGRASSV2_API GetComponentResult();
36
37
39
42 inline const RecipeOutputFormat& GetRecipeOutputFormat() const{ return m_recipeOutputFormat; }
43 inline void SetRecipeOutputFormat(const RecipeOutputFormat& value) { m_recipeOutputFormat = value; }
44 inline void SetRecipeOutputFormat(RecipeOutputFormat&& value) { m_recipeOutputFormat = std::move(value); }
46 inline GetComponentResult& WithRecipeOutputFormat(RecipeOutputFormat&& value) { SetRecipeOutputFormat(std::move(value)); return *this;}
48
50
53 inline const Aws::Utils::ByteBuffer& GetRecipe() const{ return m_recipe; }
54 inline void SetRecipe(const Aws::Utils::ByteBuffer& value) { m_recipe = value; }
55 inline void SetRecipe(Aws::Utils::ByteBuffer&& value) { m_recipe = std::move(value); }
56 inline GetComponentResult& WithRecipe(const Aws::Utils::ByteBuffer& value) { SetRecipe(value); return *this;}
57 inline GetComponentResult& WithRecipe(Aws::Utils::ByteBuffer&& value) { SetRecipe(std::move(value)); return *this;}
59
61
67 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
68 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
69 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
70 inline GetComponentResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
71 inline GetComponentResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
72 inline GetComponentResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
73 inline GetComponentResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
74 inline GetComponentResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
75 inline GetComponentResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
76 inline GetComponentResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
77 inline GetComponentResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
78 inline GetComponentResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline GetComponentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline GetComponentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline GetComponentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 RecipeOutputFormat m_recipeOutputFormat;
94
96
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace GreengrassV2
104} // namespace Aws
GetComponentResult & AddTags(const char *key, Aws::String &&value)
void SetRecipe(const Aws::Utils::ByteBuffer &value)
AWS_GREENGRASSV2_API GetComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRecipe(Aws::Utils::ByteBuffer &&value)
GetComponentResult & AddTags(const Aws::String &key, Aws::String &&value)
GetComponentResult & WithRequestId(Aws::String &&value)
GetComponentResult & WithRecipe(const Aws::Utils::ByteBuffer &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::ByteBuffer & GetRecipe() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetComponentResult & AddTags(const Aws::String &key, const Aws::String &value)
GetComponentResult & AddTags(const char *key, const char *value)
GetComponentResult & WithRecipe(Aws::Utils::ByteBuffer &&value)
AWS_GREENGRASSV2_API GetComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetComponentResult & AddTags(Aws::String &&key, const Aws::String &value)
GetComponentResult & WithRequestId(const char *value)
const RecipeOutputFormat & GetRecipeOutputFormat() const
GetComponentResult & AddTags(Aws::String &&key, Aws::String &&value)
GetComponentResult & WithRecipeOutputFormat(RecipeOutputFormat &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetComponentResult & AddTags(Aws::String &&key, const char *value)
GetComponentResult & WithRecipeOutputFormat(const RecipeOutputFormat &value)
GetComponentResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetComponentResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetComponentResult & WithRequestId(const Aws::String &value)
void SetRecipeOutputFormat(const RecipeOutputFormat &value)
void SetRecipeOutputFormat(RecipeOutputFormat &&value)
void SetRequestId(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue