AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDiscovererResult.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/schemas/model/DiscovererState.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Schemas
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SCHEMAS_API CreateDiscovererResult();
35
36
38
41 inline const Aws::String& GetDescription() const{ return m_description; }
42 inline void SetDescription(const Aws::String& value) { m_description = value; }
43 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
44 inline void SetDescription(const char* value) { m_description.assign(value); }
45 inline CreateDiscovererResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
46 inline CreateDiscovererResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
47 inline CreateDiscovererResult& WithDescription(const char* value) { SetDescription(value); return *this;}
49
51
54 inline const Aws::String& GetDiscovererArn() const{ return m_discovererArn; }
55 inline void SetDiscovererArn(const Aws::String& value) { m_discovererArn = value; }
56 inline void SetDiscovererArn(Aws::String&& value) { m_discovererArn = std::move(value); }
57 inline void SetDiscovererArn(const char* value) { m_discovererArn.assign(value); }
58 inline CreateDiscovererResult& WithDiscovererArn(const Aws::String& value) { SetDiscovererArn(value); return *this;}
59 inline CreateDiscovererResult& WithDiscovererArn(Aws::String&& value) { SetDiscovererArn(std::move(value)); return *this;}
60 inline CreateDiscovererResult& WithDiscovererArn(const char* value) { SetDiscovererArn(value); return *this;}
62
64
67 inline const Aws::String& GetDiscovererId() const{ return m_discovererId; }
68 inline void SetDiscovererId(const Aws::String& value) { m_discovererId = value; }
69 inline void SetDiscovererId(Aws::String&& value) { m_discovererId = std::move(value); }
70 inline void SetDiscovererId(const char* value) { m_discovererId.assign(value); }
71 inline CreateDiscovererResult& WithDiscovererId(const Aws::String& value) { SetDiscovererId(value); return *this;}
72 inline CreateDiscovererResult& WithDiscovererId(Aws::String&& value) { SetDiscovererId(std::move(value)); return *this;}
73 inline CreateDiscovererResult& WithDiscovererId(const char* value) { SetDiscovererId(value); return *this;}
75
77
80 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
81 inline void SetSourceArn(const Aws::String& value) { m_sourceArn = value; }
82 inline void SetSourceArn(Aws::String&& value) { m_sourceArn = std::move(value); }
83 inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); }
84 inline CreateDiscovererResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
85 inline CreateDiscovererResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
86 inline CreateDiscovererResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
88
90
93 inline const DiscovererState& GetState() const{ return m_state; }
94 inline void SetState(const DiscovererState& value) { m_state = value; }
95 inline void SetState(DiscovererState&& value) { m_state = std::move(value); }
96 inline CreateDiscovererResult& WithState(const DiscovererState& value) { SetState(value); return *this;}
97 inline CreateDiscovererResult& WithState(DiscovererState&& value) { SetState(std::move(value)); return *this;}
99
101
105 inline bool GetCrossAccount() const{ return m_crossAccount; }
106 inline void SetCrossAccount(bool value) { m_crossAccount = value; }
107 inline CreateDiscovererResult& WithCrossAccount(bool value) { SetCrossAccount(value); return *this;}
109
111
114 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
115 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
116 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
117 inline CreateDiscovererResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
118 inline CreateDiscovererResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
119 inline CreateDiscovererResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
120 inline CreateDiscovererResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
121 inline CreateDiscovererResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
122 inline CreateDiscovererResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
123 inline CreateDiscovererResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
124 inline CreateDiscovererResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
125 inline CreateDiscovererResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
127
129
130 inline const Aws::String& GetRequestId() const{ return m_requestId; }
131 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
132 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
133 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
134 inline CreateDiscovererResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline CreateDiscovererResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline CreateDiscovererResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
138 private:
139
140 Aws::String m_description;
141
142 Aws::String m_discovererArn;
143
144 Aws::String m_discovererId;
145
146 Aws::String m_sourceArn;
147
148 DiscovererState m_state;
149
150 bool m_crossAccount;
151
153
154 Aws::String m_requestId;
155 };
156
157} // namespace Model
158} // namespace Schemas
159} // namespace Aws
CreateDiscovererResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDiscovererResult & WithRequestId(Aws::String &&value)
CreateDiscovererResult & AddTags(const char *key, const char *value)
CreateDiscovererResult & WithSourceArn(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDiscovererResult & WithDescription(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetState(const DiscovererState &value)
CreateDiscovererResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateDiscovererResult & WithDiscovererArn(const char *value)
CreateDiscovererResult & WithRequestId(const char *value)
CreateDiscovererResult & WithCrossAccount(bool value)
CreateDiscovererResult & WithRequestId(const Aws::String &value)
CreateDiscovererResult & WithDescription(const char *value)
CreateDiscovererResult & WithDiscovererId(Aws::String &&value)
CreateDiscovererResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateDiscovererResult & WithDiscovererId(const Aws::String &value)
CreateDiscovererResult & WithDiscovererArn(const Aws::String &value)
CreateDiscovererResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateDiscovererResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateDiscovererResult & WithDescription(Aws::String &&value)
CreateDiscovererResult & WithSourceArn(const char *value)
CreateDiscovererResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SCHEMAS_API CreateDiscovererResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SCHEMAS_API CreateDiscovererResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDiscovererResult & WithState(DiscovererState &&value)
CreateDiscovererResult & WithState(const DiscovererState &value)
CreateDiscovererResult & AddTags(const char *key, Aws::String &&value)
CreateDiscovererResult & AddTags(Aws::String &&key, const char *value)
CreateDiscovererResult & WithDiscovererArn(Aws::String &&value)
CreateDiscovererResult & WithDiscovererId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDiscovererResult & WithSourceArn(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