AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Account.h
1
6#pragma once
7#include <aws/drs/Drs_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 drs
22{
23namespace Model
24{
25
31 class Account
32 {
33 public:
34 AWS_DRS_API Account();
35 AWS_DRS_API Account(Aws::Utils::Json::JsonView jsonValue);
38
39
41
44 inline const Aws::String& GetAccountID() const{ return m_accountID; }
45 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
46 inline void SetAccountID(const Aws::String& value) { m_accountIDHasBeenSet = true; m_accountID = value; }
47 inline void SetAccountID(Aws::String&& value) { m_accountIDHasBeenSet = true; m_accountID = std::move(value); }
48 inline void SetAccountID(const char* value) { m_accountIDHasBeenSet = true; m_accountID.assign(value); }
49 inline Account& WithAccountID(const Aws::String& value) { SetAccountID(value); return *this;}
50 inline Account& WithAccountID(Aws::String&& value) { SetAccountID(std::move(value)); return *this;}
51 inline Account& WithAccountID(const char* value) { SetAccountID(value); return *this;}
53 private:
54
55 Aws::String m_accountID;
56 bool m_accountIDHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace drs
61} // namespace Aws
const Aws::String & GetAccountID() const
Definition Account.h:44
void SetAccountID(const Aws::String &value)
Definition Account.h:46
void SetAccountID(Aws::String &&value)
Definition Account.h:47
AWS_DRS_API Account & operator=(Aws::Utils::Json::JsonView jsonValue)
Account & WithAccountID(const char *value)
Definition Account.h:51
bool AccountIDHasBeenSet() const
Definition Account.h:45
AWS_DRS_API Account(Aws::Utils::Json::JsonView jsonValue)
Account & WithAccountID(Aws::String &&value)
Definition Account.h:50
void SetAccountID(const char *value)
Definition Account.h:48
Account & WithAccountID(const Aws::String &value)
Definition Account.h:49
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue