AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AccountIDT = Aws::String>
47 void SetAccountID(AccountIDT&& value) { m_accountIDHasBeenSet = true; m_accountID = std::forward<AccountIDT>(value); }
48 template<typename AccountIDT = Aws::String>
49 Account& WithAccountID(AccountIDT&& value) { SetAccountID(std::forward<AccountIDT>(value)); return *this;}
51 private:
52
53 Aws::String m_accountID;
54 bool m_accountIDHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace drs
59} // namespace Aws
const Aws::String & GetAccountID() const
Definition Account.h:44
AWS_DRS_API Account & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DRS_API Account()=default
void SetAccountID(AccountIDT &&value)
Definition Account.h:47
Account & WithAccountID(AccountIDT &&value)
Definition Account.h:49
bool AccountIDHasBeenSet() const
Definition Account.h:45
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