AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSinkResult.h
1
6#pragma once
7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace OAM
25{
26namespace Model
27{
29 {
30 public:
31 AWS_OAM_API CreateSinkResult();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline CreateSinkResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline CreateSinkResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline CreateSinkResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
54 inline const Aws::String& GetId() const{ return m_id; }
55 inline void SetId(const Aws::String& value) { m_id = value; }
56 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
57 inline void SetId(const char* value) { m_id.assign(value); }
58 inline CreateSinkResult& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline CreateSinkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline CreateSinkResult& WithId(const char* value) { SetId(value); return *this;}
62
64
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline void SetName(const Aws::String& value) { m_name = value; }
69 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
70 inline void SetName(const char* value) { m_name.assign(value); }
71 inline CreateSinkResult& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline CreateSinkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline CreateSinkResult& WithName(const char* value) { SetName(value); return *this;}
75
77
80 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
81 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
82 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
83 inline CreateSinkResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
84 inline CreateSinkResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
85 inline CreateSinkResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
86 inline CreateSinkResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
87 inline CreateSinkResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
88 inline CreateSinkResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
89 inline CreateSinkResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
90 inline CreateSinkResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
91 inline CreateSinkResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
93
95
96 inline const Aws::String& GetRequestId() const{ return m_requestId; }
97 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
98 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
99 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
100 inline CreateSinkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
101 inline CreateSinkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
102 inline CreateSinkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
104 private:
105
106 Aws::String m_arn;
107
108 Aws::String m_id;
109
110 Aws::String m_name;
111
113
114 Aws::String m_requestId;
115 };
116
117} // namespace Model
118} // namespace OAM
119} // namespace Aws
void SetName(const char *value)
void SetId(Aws::String &&value)
CreateSinkResult & WithRequestId(const char *value)
CreateSinkResult & AddTags(Aws::String &&key, const char *value)
CreateSinkResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetArn(const Aws::String &value)
const Aws::String & GetId() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSinkResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateSinkResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateSinkResult & WithId(Aws::String &&value)
CreateSinkResult & WithId(const Aws::String &value)
CreateSinkResult & WithArn(Aws::String &&value)
CreateSinkResult & AddTags(const char *key, const char *value)
const Aws::String & GetArn() const
void SetRequestId(Aws::String &&value)
CreateSinkResult & WithArn(const char *value)
void SetArn(Aws::String &&value)
CreateSinkResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateSinkResult & WithId(const char *value)
void SetRequestId(const char *value)
CreateSinkResult & WithArn(const Aws::String &value)
CreateSinkResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetRequestId(const Aws::String &value)
AWS_OAM_API CreateSinkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
CreateSinkResult & WithName(Aws::String &&value)
AWS_OAM_API CreateSinkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSinkResult & AddTags(const char *key, Aws::String &&value)
void SetName(const Aws::String &value)
void SetId(const Aws::String &value)
CreateSinkResult & WithRequestId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetName(Aws::String &&value)
CreateSinkResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSinkResult & WithName(const char *value)
const Aws::String & GetRequestId() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSinkResult & WithName(const Aws::String &value)
CreateSinkResult & WithRequestId(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