AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssessmentTarget.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/Condition.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MigrationHubStrategyRecommendations
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentTarget();
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentTarget(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentTarget& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Condition& GetCondition() const{ return m_condition; }
47 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
48 inline void SetCondition(const Condition& value) { m_conditionHasBeenSet = true; m_condition = value; }
49 inline void SetCondition(Condition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
50 inline AssessmentTarget& WithCondition(const Condition& value) { SetCondition(value); return *this;}
51 inline AssessmentTarget& WithCondition(Condition&& value) { SetCondition(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline AssessmentTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline AssessmentTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline AssessmentTarget& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
73 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
74 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
75 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
76 inline AssessmentTarget& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
77 inline AssessmentTarget& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
78 inline AssessmentTarget& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
79 inline AssessmentTarget& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
80 inline AssessmentTarget& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
82 private:
83
84 Condition m_condition;
85 bool m_conditionHasBeenSet = false;
86
87 Aws::String m_name;
88 bool m_nameHasBeenSet = false;
89
91 bool m_valuesHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MigrationHubStrategyRecommendations
96} // namespace Aws
AssessmentTarget & WithName(const Aws::String &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentTarget & WithValues(const Aws::Vector< Aws::String > &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentTarget()
void SetValues(const Aws::Vector< Aws::String > &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentTarget(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentTarget & AddValues(const Aws::String &value)
AssessmentTarget & WithValues(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue