AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TargetAccountConfigurationSummary.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
33 {
34 public:
39
40
42
45 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
46 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
47 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
48 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
49 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
50 inline TargetAccountConfigurationSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
51 inline TargetAccountConfigurationSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
52 inline TargetAccountConfigurationSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
54
56
59 inline const Aws::String& GetAccountId() const{ return m_accountId; }
60 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
61 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
62 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
63 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
64 inline TargetAccountConfigurationSummary& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
65 inline TargetAccountConfigurationSummary& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
66 inline TargetAccountConfigurationSummary& WithAccountId(const char* value) { SetAccountId(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline TargetAccountConfigurationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline TargetAccountConfigurationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline TargetAccountConfigurationSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
82 private:
83
84 Aws::String m_roleArn;
85 bool m_roleArnHasBeenSet = false;
86
87 Aws::String m_accountId;
88 bool m_accountIdHasBeenSet = false;
89
90 Aws::String m_description;
91 bool m_descriptionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace FIS
96} // namespace Aws
TargetAccountConfigurationSummary & WithRoleArn(Aws::String &&value)
AWS_FIS_API TargetAccountConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API TargetAccountConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetAccountConfigurationSummary & WithDescription(const char *value)
TargetAccountConfigurationSummary & WithAccountId(const char *value)
TargetAccountConfigurationSummary & WithRoleArn(const Aws::String &value)
TargetAccountConfigurationSummary & WithDescription(Aws::String &&value)
TargetAccountConfigurationSummary & WithAccountId(const Aws::String &value)
TargetAccountConfigurationSummary & WithRoleArn(const char *value)
TargetAccountConfigurationSummary & WithAccountId(Aws::String &&value)
TargetAccountConfigurationSummary & WithDescription(const Aws::String &value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue