AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
Account.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace drs {
20namespace Model {
21
27class Account {
28 public:
29 AWS_DRS_API Account() = default;
30 AWS_DRS_API Account(Aws::Utils::Json::JsonView jsonValue);
33
35
38 inline const Aws::String& GetAccountID() const { return m_accountID; }
39 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
40 template <typename AccountIDT = Aws::String>
41 void SetAccountID(AccountIDT&& value) {
42 m_accountIDHasBeenSet = true;
43 m_accountID = std::forward<AccountIDT>(value);
44 }
45 template <typename AccountIDT = Aws::String>
46 Account& WithAccountID(AccountIDT&& value) {
47 SetAccountID(std::forward<AccountIDT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_accountID;
53 bool m_accountIDHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace drs
58} // namespace Aws
const Aws::String & GetAccountID() const
Definition Account.h:38
AWS_DRS_API Account & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API Account()=default
void SetAccountID(AccountIDT &&value)
Definition Account.h:41
Account & WithAccountID(AccountIDT &&value)
Definition Account.h:46
bool AccountIDHasBeenSet() const
Definition Account.h:39
AWS_DRS_API Account(Aws::Utils::Json::JsonView jsonValue)
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