AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Recommendation.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataSync
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_DATASYNC_API Recommendation();
40 AWS_DATASYNC_API Recommendation(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetStorageType() const{ return m_storageType; }
52 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
53 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
54 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
55 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
56 inline Recommendation& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
57 inline Recommendation& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
58 inline Recommendation& WithStorageType(const char* value) { SetStorageType(value); return *this;}
60
62
66 inline const Aws::Map<Aws::String, Aws::String>& GetStorageConfiguration() const{ return m_storageConfiguration; }
67 inline bool StorageConfigurationHasBeenSet() const { return m_storageConfigurationHasBeenSet; }
68 inline void SetStorageConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { m_storageConfigurationHasBeenSet = true; m_storageConfiguration = value; }
69 inline void SetStorageConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { m_storageConfigurationHasBeenSet = true; m_storageConfiguration = std::move(value); }
72 inline Recommendation& AddStorageConfiguration(const Aws::String& key, const Aws::String& value) { m_storageConfigurationHasBeenSet = true; m_storageConfiguration.emplace(key, value); return *this; }
73 inline Recommendation& AddStorageConfiguration(Aws::String&& key, const Aws::String& value) { m_storageConfigurationHasBeenSet = true; m_storageConfiguration.emplace(std::move(key), value); return *this; }
74 inline Recommendation& AddStorageConfiguration(const Aws::String& key, Aws::String&& value) { m_storageConfigurationHasBeenSet = true; m_storageConfiguration.emplace(key, std::move(value)); return *this; }
75 inline Recommendation& AddStorageConfiguration(Aws::String&& key, Aws::String&& value) { m_storageConfigurationHasBeenSet = true; m_storageConfiguration.emplace(std::move(key), std::move(value)); return *this; }
76 inline Recommendation& AddStorageConfiguration(const char* key, Aws::String&& value) { m_storageConfigurationHasBeenSet = true; m_storageConfiguration.emplace(key, std::move(value)); return *this; }
77 inline Recommendation& AddStorageConfiguration(Aws::String&& key, const char* value) { m_storageConfigurationHasBeenSet = true; m_storageConfiguration.emplace(std::move(key), value); return *this; }
78 inline Recommendation& AddStorageConfiguration(const char* key, const char* value) { m_storageConfigurationHasBeenSet = true; m_storageConfiguration.emplace(key, value); return *this; }
80
82
86 inline const Aws::String& GetEstimatedMonthlyStorageCost() const{ return m_estimatedMonthlyStorageCost; }
87 inline bool EstimatedMonthlyStorageCostHasBeenSet() const { return m_estimatedMonthlyStorageCostHasBeenSet; }
88 inline void SetEstimatedMonthlyStorageCost(const Aws::String& value) { m_estimatedMonthlyStorageCostHasBeenSet = true; m_estimatedMonthlyStorageCost = value; }
89 inline void SetEstimatedMonthlyStorageCost(Aws::String&& value) { m_estimatedMonthlyStorageCostHasBeenSet = true; m_estimatedMonthlyStorageCost = std::move(value); }
90 inline void SetEstimatedMonthlyStorageCost(const char* value) { m_estimatedMonthlyStorageCostHasBeenSet = true; m_estimatedMonthlyStorageCost.assign(value); }
93 inline Recommendation& WithEstimatedMonthlyStorageCost(const char* value) { SetEstimatedMonthlyStorageCost(value); return *this;}
95 private:
96
97 Aws::String m_storageType;
98 bool m_storageTypeHasBeenSet = false;
99
100 Aws::Map<Aws::String, Aws::String> m_storageConfiguration;
101 bool m_storageConfigurationHasBeenSet = false;
102
103 Aws::String m_estimatedMonthlyStorageCost;
104 bool m_estimatedMonthlyStorageCostHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace DataSync
109} // namespace Aws
void SetStorageConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
Recommendation & AddStorageConfiguration(const char *key, const char *value)
Recommendation & WithEstimatedMonthlyStorageCost(Aws::String &&value)
AWS_DATASYNC_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
void SetStorageType(const Aws::String &value)
Recommendation & WithStorageType(Aws::String &&value)
Recommendation & AddStorageConfiguration(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetStorageConfiguration() const
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStorageType(const char *value)
void SetStorageConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
Recommendation & AddStorageConfiguration(Aws::String &&key, const char *value)
void SetEstimatedMonthlyStorageCost(const Aws::String &value)
Recommendation & WithStorageType(const Aws::String &value)
Recommendation & AddStorageConfiguration(const Aws::String &key, const Aws::String &value)
const Aws::String & GetStorageType() const
Recommendation & WithStorageConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetEstimatedMonthlyStorageCost() const
Recommendation & AddStorageConfiguration(const char *key, Aws::String &&value)
Recommendation & AddStorageConfiguration(Aws::String &&key, Aws::String &&value)
void SetEstimatedMonthlyStorageCost(const char *value)
Recommendation & WithStorageType(const char *value)
Recommendation & WithEstimatedMonthlyStorageCost(const char *value)
void SetStorageType(Aws::String &&value)
void SetEstimatedMonthlyStorageCost(Aws::String &&value)
Recommendation & WithStorageConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
Recommendation & WithEstimatedMonthlyStorageCost(const Aws::String &value)
Recommendation & AddStorageConfiguration(const Aws::String &key, Aws::String &&value)
AWS_DATASYNC_API Recommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue