AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationSettings.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_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 DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API RecommendationSettings();
36 AWS_DATABASEMIGRATIONSERVICE_API RecommendationSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API RecommendationSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetInstanceSizingType() const{ return m_instanceSizingType; }
49 inline bool InstanceSizingTypeHasBeenSet() const { return m_instanceSizingTypeHasBeenSet; }
50 inline void SetInstanceSizingType(const Aws::String& value) { m_instanceSizingTypeHasBeenSet = true; m_instanceSizingType = value; }
51 inline void SetInstanceSizingType(Aws::String&& value) { m_instanceSizingTypeHasBeenSet = true; m_instanceSizingType = std::move(value); }
52 inline void SetInstanceSizingType(const char* value) { m_instanceSizingTypeHasBeenSet = true; m_instanceSizingType.assign(value); }
54 inline RecommendationSettings& WithInstanceSizingType(Aws::String&& value) { SetInstanceSizingType(std::move(value)); return *this;}
55 inline RecommendationSettings& WithInstanceSizingType(const char* value) { SetInstanceSizingType(value); return *this;}
57
59
65 inline const Aws::String& GetWorkloadType() const{ return m_workloadType; }
66 inline bool WorkloadTypeHasBeenSet() const { return m_workloadTypeHasBeenSet; }
67 inline void SetWorkloadType(const Aws::String& value) { m_workloadTypeHasBeenSet = true; m_workloadType = value; }
68 inline void SetWorkloadType(Aws::String&& value) { m_workloadTypeHasBeenSet = true; m_workloadType = std::move(value); }
69 inline void SetWorkloadType(const char* value) { m_workloadTypeHasBeenSet = true; m_workloadType.assign(value); }
70 inline RecommendationSettings& WithWorkloadType(const Aws::String& value) { SetWorkloadType(value); return *this;}
71 inline RecommendationSettings& WithWorkloadType(Aws::String&& value) { SetWorkloadType(std::move(value)); return *this;}
72 inline RecommendationSettings& WithWorkloadType(const char* value) { SetWorkloadType(value); return *this;}
74 private:
75
76 Aws::String m_instanceSizingType;
77 bool m_instanceSizingTypeHasBeenSet = false;
78
79 Aws::String m_workloadType;
80 bool m_workloadTypeHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace DatabaseMigrationService
85} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API RecommendationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API RecommendationSettings(Aws::Utils::Json::JsonView jsonValue)
RecommendationSettings & WithWorkloadType(const char *value)
RecommendationSettings & WithInstanceSizingType(const Aws::String &value)
RecommendationSettings & WithWorkloadType(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API RecommendationSettings()
RecommendationSettings & WithWorkloadType(const Aws::String &value)
RecommendationSettings & WithInstanceSizingType(const char *value)
RecommendationSettings & WithInstanceSizingType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue