AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ExportPreferences.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/discovery/model/Ec2RecommendationsExportPreferences.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ApplicationDiscoveryService {
20namespace Model {
21
31 public:
32 AWS_APPLICATIONDISCOVERYSERVICE_API ExportPreferences() = default;
33 AWS_APPLICATIONDISCOVERYSERVICE_API ExportPreferences(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPLICATIONDISCOVERYSERVICE_API ExportPreferences& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Ec2RecommendationsExportPreferences& GetEc2RecommendationsPreferences() const { return m_ec2RecommendationsPreferences; }
44 inline bool Ec2RecommendationsPreferencesHasBeenSet() const { return m_ec2RecommendationsPreferencesHasBeenSet; }
45 template <typename Ec2RecommendationsPreferencesT = Ec2RecommendationsExportPreferences>
46 void SetEc2RecommendationsPreferences(Ec2RecommendationsPreferencesT&& value) {
47 m_ec2RecommendationsPreferencesHasBeenSet = true;
48 m_ec2RecommendationsPreferences = std::forward<Ec2RecommendationsPreferencesT>(value);
49 }
50 template <typename Ec2RecommendationsPreferencesT = Ec2RecommendationsExportPreferences>
51 ExportPreferences& WithEc2RecommendationsPreferences(Ec2RecommendationsPreferencesT&& value) {
52 SetEc2RecommendationsPreferences(std::forward<Ec2RecommendationsPreferencesT>(value));
53 return *this;
54 }
56 private:
57 Ec2RecommendationsExportPreferences m_ec2RecommendationsPreferences;
58 bool m_ec2RecommendationsPreferencesHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace ApplicationDiscoveryService
63} // namespace Aws
ExportPreferences & WithEc2RecommendationsPreferences(Ec2RecommendationsPreferencesT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONDISCOVERYSERVICE_API ExportPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONDISCOVERYSERVICE_API ExportPreferences(Aws::Utils::Json::JsonView jsonValue)
const Ec2RecommendationsExportPreferences & GetEc2RecommendationsPreferences() const
void SetEc2RecommendationsPreferences(Ec2RecommendationsPreferencesT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API ExportPreferences()=default
Aws::Utils::Json::JsonValue JsonValue