AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AwsAccount.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
28 public:
29 AWS_DATAZONE_API AwsAccount() = default;
30 AWS_DATAZONE_API AwsAccount(Aws::Utils::Json::JsonView jsonValue);
31 AWS_DATAZONE_API AwsAccount& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
46 AwsAccount& WithAwsAccountId(AwsAccountIdT&& value) {
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetAwsAccountIdPath() const { return m_awsAccountIdPath; }
57 inline bool AwsAccountIdPathHasBeenSet() const { return m_awsAccountIdPathHasBeenSet; }
58 template <typename AwsAccountIdPathT = Aws::String>
59 void SetAwsAccountIdPath(AwsAccountIdPathT&& value) {
60 m_awsAccountIdPathHasBeenSet = true;
61 m_awsAccountIdPath = std::forward<AwsAccountIdPathT>(value);
62 }
63 template <typename AwsAccountIdPathT = Aws::String>
64 AwsAccount& WithAwsAccountIdPath(AwsAccountIdPathT&& value) {
65 SetAwsAccountIdPath(std::forward<AwsAccountIdPathT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_awsAccountId;
71
72 Aws::String m_awsAccountIdPath;
73 bool m_awsAccountIdHasBeenSet = false;
74 bool m_awsAccountIdPathHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace DataZone
79} // namespace Aws
void SetAwsAccountId(AwsAccountIdT &&value)
Definition AwsAccount.h:41
AWS_DATAZONE_API AwsAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsAccount & WithAwsAccountIdPath(AwsAccountIdPathT &&value)
Definition AwsAccount.h:64
AWS_DATAZONE_API AwsAccount(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API AwsAccount()=default
bool AwsAccountIdPathHasBeenSet() const
Definition AwsAccount.h:57
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AwsAccount & WithAwsAccountId(AwsAccountIdT &&value)
Definition AwsAccount.h:46
const Aws::String & GetAwsAccountId() const
Definition AwsAccount.h:38
const Aws::String & GetAwsAccountIdPath() const
Definition AwsAccount.h:56
void SetAwsAccountIdPath(AwsAccountIdPathT &&value)
Definition AwsAccount.h:59
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue