AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DiscoveredResource.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FMS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_FMS_API DiscoveredResource();
39
40
42
45 inline const Aws::String& GetURI() const{ return m_uRI; }
46 inline bool URIHasBeenSet() const { return m_uRIHasBeenSet; }
47 inline void SetURI(const Aws::String& value) { m_uRIHasBeenSet = true; m_uRI = value; }
48 inline void SetURI(Aws::String&& value) { m_uRIHasBeenSet = true; m_uRI = std::move(value); }
49 inline void SetURI(const char* value) { m_uRIHasBeenSet = true; m_uRI.assign(value); }
50 inline DiscoveredResource& WithURI(const Aws::String& value) { SetURI(value); return *this;}
51 inline DiscoveredResource& WithURI(Aws::String&& value) { SetURI(std::move(value)); return *this;}
52 inline DiscoveredResource& WithURI(const char* value) { SetURI(value); return *this;}
54
56
60 inline const Aws::String& GetAccountId() const{ return m_accountId; }
61 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
62 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
63 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
64 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
65 inline DiscoveredResource& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
66 inline DiscoveredResource& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
67 inline DiscoveredResource& WithAccountId(const char* value) { SetAccountId(value); return *this;}
69
71
74 inline const Aws::String& GetType() const{ return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
77 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
78 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
79 inline DiscoveredResource& WithType(const Aws::String& value) { SetType(value); return *this;}
80 inline DiscoveredResource& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
81 inline DiscoveredResource& WithType(const char* value) { SetType(value); return *this;}
83
85
88 inline const Aws::String& GetName() const{ return m_name; }
89 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
91 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
92 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
93 inline DiscoveredResource& WithName(const Aws::String& value) { SetName(value); return *this;}
94 inline DiscoveredResource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
95 inline DiscoveredResource& WithName(const char* value) { SetName(value); return *this;}
97 private:
98
99 Aws::String m_uRI;
100 bool m_uRIHasBeenSet = false;
101
102 Aws::String m_accountId;
103 bool m_accountIdHasBeenSet = false;
104
105 Aws::String m_type;
106 bool m_typeHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace FMS
114} // namespace Aws
void SetAccountId(const Aws::String &value)
const Aws::String & GetName() const
DiscoveredResource & WithAccountId(Aws::String &&value)
DiscoveredResource & WithName(const Aws::String &value)
DiscoveredResource & WithType(Aws::String &&value)
AWS_FMS_API DiscoveredResource & operator=(Aws::Utils::Json::JsonView jsonValue)
DiscoveredResource & WithURI(const char *value)
DiscoveredResource & WithType(const char *value)
void SetAccountId(Aws::String &&value)
const Aws::String & GetType() const
DiscoveredResource & WithName(Aws::String &&value)
DiscoveredResource & WithURI(Aws::String &&value)
void SetURI(const Aws::String &value)
const Aws::String & GetURI() const
DiscoveredResource & WithAccountId(const char *value)
void SetType(const Aws::String &value)
void SetName(const Aws::String &value)
const Aws::String & GetAccountId() const
DiscoveredResource & WithName(const char *value)
DiscoveredResource & WithURI(const Aws::String &value)
DiscoveredResource & WithType(const Aws::String &value)
AWS_FMS_API DiscoveredResource(Aws::Utils::Json::JsonView jsonValue)
DiscoveredResource & WithAccountId(const Aws::String &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue