AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DiscovererSummary.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{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Schemas
24{
25namespace Model
26{
27
29 {
30 public:
31 AWS_SCHEMAS_API DiscovererSummary();
34 AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
36
38
41 inline const Aws::String& GetDiscovererArn() const{ return m_discovererArn; }
42 inline bool DiscovererArnHasBeenSet() const { return m_discovererArnHasBeenSet; }
43 inline void SetDiscovererArn(const Aws::String& value) { m_discovererArnHasBeenSet = true; m_discovererArn = value; }
44 inline void SetDiscovererArn(Aws::String&& value) { m_discovererArnHasBeenSet = true; m_discovererArn = std::move(value); }
45 inline void SetDiscovererArn(const char* value) { m_discovererArnHasBeenSet = true; m_discovererArn.assign(value); }
46 inline DiscovererSummary& WithDiscovererArn(const Aws::String& value) { SetDiscovererArn(value); return *this;}
47 inline DiscovererSummary& WithDiscovererArn(Aws::String&& value) { SetDiscovererArn(std::move(value)); return *this;}
48 inline DiscovererSummary& WithDiscovererArn(const char* value) { SetDiscovererArn(value); return *this;}
50
52
55 inline const Aws::String& GetDiscovererId() const{ return m_discovererId; }
56 inline bool DiscovererIdHasBeenSet() const { return m_discovererIdHasBeenSet; }
57 inline void SetDiscovererId(const Aws::String& value) { m_discovererIdHasBeenSet = true; m_discovererId = value; }
58 inline void SetDiscovererId(Aws::String&& value) { m_discovererIdHasBeenSet = true; m_discovererId = std::move(value); }
59 inline void SetDiscovererId(const char* value) { m_discovererIdHasBeenSet = true; m_discovererId.assign(value); }
60 inline DiscovererSummary& WithDiscovererId(const Aws::String& value) { SetDiscovererId(value); return *this;}
61 inline DiscovererSummary& WithDiscovererId(Aws::String&& value) { SetDiscovererId(std::move(value)); return *this;}
62 inline DiscovererSummary& WithDiscovererId(const char* value) { SetDiscovererId(value); return *this;}
64
66
69 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
70 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
71 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
72 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
73 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
74 inline DiscovererSummary& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
75 inline DiscovererSummary& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
76 inline DiscovererSummary& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
78
80
83 inline const DiscovererState& GetState() const{ return m_state; }
84 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
85 inline void SetState(const DiscovererState& value) { m_stateHasBeenSet = true; m_state = value; }
86 inline void SetState(DiscovererState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
87 inline DiscovererSummary& WithState(const DiscovererState& value) { SetState(value); return *this;}
88 inline DiscovererSummary& WithState(DiscovererState&& value) { SetState(std::move(value)); return *this;}
90
92
96 inline bool GetCrossAccount() const{ return m_crossAccount; }
97 inline bool CrossAccountHasBeenSet() const { return m_crossAccountHasBeenSet; }
98 inline void SetCrossAccount(bool value) { m_crossAccountHasBeenSet = true; m_crossAccount = value; }
99 inline DiscovererSummary& WithCrossAccount(bool value) { SetCrossAccount(value); return *this;}
101
103
106 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
107 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
108 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
109 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
110 inline DiscovererSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
111 inline DiscovererSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
112 inline DiscovererSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
113 inline DiscovererSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
114 inline DiscovererSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
115 inline DiscovererSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
116 inline DiscovererSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
117 inline DiscovererSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
118 inline DiscovererSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
120 private:
121
122 Aws::String m_discovererArn;
123 bool m_discovererArnHasBeenSet = false;
124
125 Aws::String m_discovererId;
126 bool m_discovererIdHasBeenSet = false;
127
128 Aws::String m_sourceArn;
129 bool m_sourceArnHasBeenSet = false;
130
131 DiscovererState m_state;
132 bool m_stateHasBeenSet = false;
133
134 bool m_crossAccount;
135 bool m_crossAccountHasBeenSet = false;
136
138 bool m_tagsHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Schemas
143} // namespace Aws
void SetDiscovererId(const Aws::String &value)
void SetDiscovererArn(Aws::String &&value)
const Aws::String & GetDiscovererId() const
DiscovererSummary & WithSourceArn(Aws::String &&value)
DiscovererSummary & AddTags(const char *key, Aws::String &&value)
DiscovererSummary & AddTags(const char *key, const char *value)
DiscovererSummary & AddTags(Aws::String &&key, const char *value)
void SetState(const DiscovererState &value)
AWS_SCHEMAS_API DiscovererSummary(Aws::Utils::Json::JsonView jsonValue)
const DiscovererState & GetState() const
void SetDiscovererId(Aws::String &&value)
const Aws::String & GetSourceArn() const
DiscovererSummary & WithDiscovererId(Aws::String &&value)
DiscovererSummary & WithCrossAccount(bool value)
DiscovererSummary & AddTags(const Aws::String &key, const Aws::String &value)
DiscovererSummary & WithDiscovererId(const Aws::String &value)
DiscovererSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DiscovererSummary & WithDiscovererArn(const Aws::String &value)
DiscovererSummary & WithSourceArn(const Aws::String &value)
DiscovererSummary & WithState(DiscovererState &&value)
void SetState(DiscovererState &&value)
AWS_SCHEMAS_API DiscovererSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceArn(const Aws::String &value)
DiscovererSummary & WithDiscovererArn(const char *value)
void SetDiscovererArn(const Aws::String &value)
DiscovererSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DiscovererSummary & WithState(const DiscovererState &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
DiscovererSummary & AddTags(Aws::String &&key, const Aws::String &value)
DiscovererSummary & AddTags(const Aws::String &key, Aws::String &&value)
DiscovererSummary & WithDiscovererArn(Aws::String &&value)
DiscovererSummary & WithSourceArn(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetDiscovererArn() const
DiscovererSummary & AddTags(Aws::String &&key, Aws::String &&value)
DiscovererSummary & WithDiscovererId(const char *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