AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Resource.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 Resource();
36 AWS_FMS_API Resource(Aws::Utils::Json::JsonView jsonValue);
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 Resource& WithURI(const Aws::String& value) { SetURI(value); return *this;}
51 inline Resource& WithURI(Aws::String&& value) { SetURI(std::move(value)); return *this;}
52 inline Resource& 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 Resource& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
66 inline Resource& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
67 inline Resource& WithAccountId(const char* value) { SetAccountId(value); return *this;}
69 private:
70
71 Aws::String m_uRI;
72 bool m_uRIHasBeenSet = false;
73
74 Aws::String m_accountId;
75 bool m_accountIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace FMS
80} // namespace Aws
Resource & WithURI(const char *value)
Definition Resource.h:52
void SetAccountId(const Aws::String &value)
Definition Resource.h:62
bool URIHasBeenSet() const
Definition Resource.h:46
const Aws::String & GetAccountId() const
Definition Resource.h:60
bool AccountIdHasBeenSet() const
Definition Resource.h:61
Resource & WithURI(Aws::String &&value)
Definition Resource.h:51
void SetURI(Aws::String &&value)
Definition Resource.h:48
void SetAccountId(const char *value)
Definition Resource.h:64
Resource & WithAccountId(const char *value)
Definition Resource.h:67
void SetAccountId(Aws::String &&value)
Definition Resource.h:63
Resource & WithAccountId(Aws::String &&value)
Definition Resource.h:66
AWS_FMS_API Resource(Aws::Utils::Json::JsonView jsonValue)
Resource & WithURI(const Aws::String &value)
Definition Resource.h:50
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetURI(const Aws::String &value)
Definition Resource.h:47
Resource & WithAccountId(const Aws::String &value)
Definition Resource.h:65
AWS_FMS_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetURI(const char *value)
Definition Resource.h:49
const Aws::String & GetURI() const
Definition Resource.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue