AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TargetAccountConfiguration.h
1
6#pragma once
7#include <aws/fis/FIS_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 FIS
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_FIS_API TargetAccountConfiguration() = default;
38
39
41
44 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
45 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
46 template<typename RoleArnT = Aws::String>
47 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
48 template<typename RoleArnT = Aws::String>
49 TargetAccountConfiguration& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetAccountId() const { return m_accountId; }
57 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
58 template<typename AccountIdT = Aws::String>
59 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
60 template<typename AccountIdT = Aws::String>
61 TargetAccountConfiguration& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 TargetAccountConfiguration& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75 private:
76
77 Aws::String m_roleArn;
78 bool m_roleArnHasBeenSet = false;
79
80 Aws::String m_accountId;
81 bool m_accountIdHasBeenSet = false;
82
83 Aws::String m_description;
84 bool m_descriptionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace FIS
89} // namespace Aws
TargetAccountConfiguration & WithRoleArn(RoleArnT &&value)
AWS_FIS_API TargetAccountConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API TargetAccountConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetAccountConfiguration & WithAccountId(AccountIdT &&value)
TargetAccountConfiguration & WithDescription(DescriptionT &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIS_API TargetAccountConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue