AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDiscovererResult.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 DescribeDiscovererResult();
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 DescribeDiscovererResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
46 inline DescribeDiscovererResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
47 inline DescribeDiscovererResult& 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 DescribeDiscovererResult& WithDiscovererArn(const Aws::String& value) { SetDiscovererArn(value); return *this;}
59 inline DescribeDiscovererResult& WithDiscovererArn(Aws::String&& value) { SetDiscovererArn(std::move(value)); return *this;}
60 inline DescribeDiscovererResult& 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 DescribeDiscovererResult& WithDiscovererId(const Aws::String& value) { SetDiscovererId(value); return *this;}
72 inline DescribeDiscovererResult& WithDiscovererId(Aws::String&& value) { SetDiscovererId(std::move(value)); return *this;}
73 inline DescribeDiscovererResult& 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 DescribeDiscovererResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
85 inline DescribeDiscovererResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
86 inline DescribeDiscovererResult& 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 DescribeDiscovererResult& WithState(const DiscovererState& value) { SetState(value); return *this;}
97 inline DescribeDiscovererResult& 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 DescribeDiscovererResult& 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); }
118 inline DescribeDiscovererResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
119 inline DescribeDiscovererResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
120 inline DescribeDiscovererResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
121 inline DescribeDiscovererResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
122 inline DescribeDiscovererResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
123 inline DescribeDiscovererResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
124 inline DescribeDiscovererResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
125 inline DescribeDiscovererResult& 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 DescribeDiscovererResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline DescribeDiscovererResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline DescribeDiscovererResult& 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
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeDiscovererResult & WithDescription(const Aws::String &value)
DescribeDiscovererResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeDiscovererResult & WithState(const DiscovererState &value)
DescribeDiscovererResult & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SCHEMAS_API DescribeDiscovererResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDiscovererResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeDiscovererResult & WithSourceArn(Aws::String &&value)
DescribeDiscovererResult & WithSourceArn(const Aws::String &value)
DescribeDiscovererResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeDiscovererResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeDiscovererResult & WithDiscovererArn(const Aws::String &value)
DescribeDiscovererResult & WithDiscovererArn(const char *value)
DescribeDiscovererResult & AddTags(const char *key, Aws::String &&value)
DescribeDiscovererResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeDiscovererResult & WithDiscovererId(const char *value)
DescribeDiscovererResult & WithDiscovererId(const Aws::String &value)
DescribeDiscovererResult & WithDescription(const char *value)
AWS_SCHEMAS_API DescribeDiscovererResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDiscovererResult & WithSourceArn(const char *value)
DescribeDiscovererResult & WithDiscovererArn(Aws::String &&value)
DescribeDiscovererResult & WithCrossAccount(bool value)
DescribeDiscovererResult & WithDescription(Aws::String &&value)
DescribeDiscovererResult & WithRequestId(const char *value)
DescribeDiscovererResult & WithRequestId(Aws::String &&value)
DescribeDiscovererResult & WithState(DiscovererState &&value)
DescribeDiscovererResult & WithDiscovererId(Aws::String &&value)
DescribeDiscovererResult & AddTags(const char *key, const char *value)
DescribeDiscovererResult & WithRequestId(const Aws::String &value)
DescribeDiscovererResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, 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