AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
45 inline const Aws::String& GetURI() const { return m_uRI; }
46 inline bool URIHasBeenSet() const { return m_uRIHasBeenSet; }
47 template<typename URIT = Aws::String>
48 void SetURI(URIT&& value) { m_uRIHasBeenSet = true; m_uRI = std::forward<URIT>(value); }
49 template<typename URIT = Aws::String>
50 DiscoveredResource& WithURI(URIT&& value) { SetURI(std::forward<URIT>(value)); return *this;}
52
54
58 inline const Aws::String& GetAccountId() const { return m_accountId; }
59 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
60 template<typename AccountIdT = Aws::String>
61 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
62 template<typename AccountIdT = Aws::String>
63 DiscoveredResource& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetType() const { return m_type; }
71 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
72 template<typename TypeT = Aws::String>
73 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
74 template<typename TypeT = Aws::String>
75 DiscoveredResource& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
77
79
82 inline const Aws::String& GetName() const { return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 template<typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
86 template<typename NameT = Aws::String>
87 DiscoveredResource& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
89 private:
90
91 Aws::String m_uRI;
92 bool m_uRIHasBeenSet = false;
93
94 Aws::String m_accountId;
95 bool m_accountIdHasBeenSet = false;
96
97 Aws::String m_type;
98 bool m_typeHasBeenSet = false;
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace FMS
106} // namespace Aws
DiscoveredResource & WithURI(URIT &&value)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetName() const
DiscoveredResource & WithType(TypeT &&value)
AWS_FMS_API DiscoveredResource & operator=(Aws::Utils::Json::JsonView jsonValue)
DiscoveredResource & WithAccountId(AccountIdT &&value)
const Aws::String & GetType() const
const Aws::String & GetURI() const
const Aws::String & GetAccountId() const
AWS_FMS_API DiscoveredResource()=default
DiscoveredResource & WithName(NameT &&value)
AWS_FMS_API DiscoveredResource(Aws::Utils::Json::JsonView jsonValue)
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