AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExperimentTargetAccountConfiguration.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 ExperimentTargetAccountConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
51 inline ExperimentTargetAccountConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
52 inline ExperimentTargetAccountConfiguration& 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 ExperimentTargetAccountConfiguration& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
65 inline ExperimentTargetAccountConfiguration& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
66 inline ExperimentTargetAccountConfiguration& 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); }
79 inline ExperimentTargetAccountConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline ExperimentTargetAccountConfiguration& 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
ExperimentTargetAccountConfiguration & WithRoleArn(const Aws::String &value)
ExperimentTargetAccountConfiguration & WithAccountId(Aws::String &&value)
ExperimentTargetAccountConfiguration & WithAccountId(const Aws::String &value)
ExperimentTargetAccountConfiguration & WithRoleArn(const char *value)
ExperimentTargetAccountConfiguration & WithAccountId(const char *value)
AWS_FIS_API ExperimentTargetAccountConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentTargetAccountConfiguration & WithDescription(const Aws::String &value)
ExperimentTargetAccountConfiguration & WithRoleArn(Aws::String &&value)
ExperimentTargetAccountConfiguration & WithDescription(const char *value)
ExperimentTargetAccountConfiguration & WithDescription(Aws::String &&value)
AWS_FIS_API ExperimentTargetAccountConfiguration(Aws::Utils::Json::JsonView jsonValue)
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