AWS SDK for C++

AWS SDK for C++ Version 1.11.749

Loading...
Searching...
No Matches
EnvironmentResolvedAccount.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
29 public:
30 AWS_DATAZONE_API EnvironmentResolvedAccount() = default;
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
40 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
41 template <typename AwsAccountIdT = Aws::String>
42 void SetAwsAccountId(AwsAccountIdT&& value) {
43 m_awsAccountIdHasBeenSet = true;
44 m_awsAccountId = std::forward<AwsAccountIdT>(value);
45 }
46 template <typename AwsAccountIdT = Aws::String>
48 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetRegionName() const { return m_regionName; }
58 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
59 template <typename RegionNameT = Aws::String>
60 void SetRegionName(RegionNameT&& value) {
61 m_regionNameHasBeenSet = true;
62 m_regionName = std::forward<RegionNameT>(value);
63 }
64 template <typename RegionNameT = Aws::String>
66 SetRegionName(std::forward<RegionNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetSourceAccountPoolId() const { return m_sourceAccountPoolId; }
76 inline bool SourceAccountPoolIdHasBeenSet() const { return m_sourceAccountPoolIdHasBeenSet; }
77 template <typename SourceAccountPoolIdT = Aws::String>
78 void SetSourceAccountPoolId(SourceAccountPoolIdT&& value) {
79 m_sourceAccountPoolIdHasBeenSet = true;
80 m_sourceAccountPoolId = std::forward<SourceAccountPoolIdT>(value);
81 }
82 template <typename SourceAccountPoolIdT = Aws::String>
83 EnvironmentResolvedAccount& WithSourceAccountPoolId(SourceAccountPoolIdT&& value) {
84 SetSourceAccountPoolId(std::forward<SourceAccountPoolIdT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_awsAccountId;
90
91 Aws::String m_regionName;
92
93 Aws::String m_sourceAccountPoolId;
94 bool m_awsAccountIdHasBeenSet = false;
95 bool m_regionNameHasBeenSet = false;
96 bool m_sourceAccountPoolIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace DataZone
101} // namespace Aws
EnvironmentResolvedAccount & WithSourceAccountPoolId(SourceAccountPoolIdT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API EnvironmentResolvedAccount()=default
EnvironmentResolvedAccount & WithAwsAccountId(AwsAccountIdT &&value)
AWS_DATAZONE_API EnvironmentResolvedAccount(Aws::Utils::Json::JsonView jsonValue)
EnvironmentResolvedAccount & WithRegionName(RegionNameT &&value)
AWS_DATAZONE_API EnvironmentResolvedAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue