AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
EnvironmentResolvedAccount.h
1
6#pragma once
7#include <aws/datazone/DataZone_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 DataZone
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATAZONE_API EnvironmentResolvedAccount() = default;
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
46 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
47 template<typename AwsAccountIdT = Aws::String>
48 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
49 template<typename AwsAccountIdT = Aws::String>
50 EnvironmentResolvedAccount& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
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) { m_regionNameHasBeenSet = true; m_regionName = std::forward<RegionNameT>(value); }
61 template<typename RegionNameT = Aws::String>
62 EnvironmentResolvedAccount& WithRegionName(RegionNameT&& value) { SetRegionName(std::forward<RegionNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetSourceAccountPoolId() const { return m_sourceAccountPoolId; }
70 inline bool SourceAccountPoolIdHasBeenSet() const { return m_sourceAccountPoolIdHasBeenSet; }
71 template<typename SourceAccountPoolIdT = Aws::String>
72 void SetSourceAccountPoolId(SourceAccountPoolIdT&& value) { m_sourceAccountPoolIdHasBeenSet = true; m_sourceAccountPoolId = std::forward<SourceAccountPoolIdT>(value); }
73 template<typename SourceAccountPoolIdT = Aws::String>
74 EnvironmentResolvedAccount& WithSourceAccountPoolId(SourceAccountPoolIdT&& value) { SetSourceAccountPoolId(std::forward<SourceAccountPoolIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_awsAccountId;
79 bool m_awsAccountIdHasBeenSet = false;
80
81 Aws::String m_regionName;
82 bool m_regionNameHasBeenSet = false;
83
84 Aws::String m_sourceAccountPoolId;
85 bool m_sourceAccountPoolIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace DataZone
90} // 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