AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
38
39
41
44 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
45 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
46 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
47 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
48 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
49 inline TargetAccountConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
50 inline TargetAccountConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
51 inline TargetAccountConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
53
55
58 inline const Aws::String& GetAccountId() const{ return m_accountId; }
59 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
60 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
61 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
62 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
63 inline TargetAccountConfiguration& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
64 inline TargetAccountConfiguration& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
65 inline TargetAccountConfiguration& WithAccountId(const char* value) { SetAccountId(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline TargetAccountConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline TargetAccountConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline TargetAccountConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;}
81 private:
82
83 Aws::String m_roleArn;
84 bool m_roleArnHasBeenSet = false;
85
86 Aws::String m_accountId;
87 bool m_accountIdHasBeenSet = false;
88
89 Aws::String m_description;
90 bool m_descriptionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace FIS
95} // namespace Aws
TargetAccountConfiguration & WithAccountId(Aws::String &&value)
TargetAccountConfiguration & WithAccountId(const Aws::String &value)
TargetAccountConfiguration & WithRoleArn(const char *value)
TargetAccountConfiguration & WithAccountId(const char *value)
TargetAccountConfiguration & WithRoleArn(Aws::String &&value)
AWS_FIS_API TargetAccountConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API TargetAccountConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetAccountConfiguration & WithRoleArn(const Aws::String &value)
TargetAccountConfiguration & WithDescription(const Aws::String &value)
TargetAccountConfiguration & WithDescription(Aws::String &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
TargetAccountConfiguration & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue