AWS SDK for C++  1.9.40
AWS SDK for C++
DatasetContentDeliveryRule.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoTAnalytics
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetEntryName() const{ return m_entryName; }
46 
50  inline bool EntryNameHasBeenSet() const { return m_entryNameHasBeenSet; }
51 
55  inline void SetEntryName(const Aws::String& value) { m_entryNameHasBeenSet = true; m_entryName = value; }
56 
60  inline void SetEntryName(Aws::String&& value) { m_entryNameHasBeenSet = true; m_entryName = std::move(value); }
61 
65  inline void SetEntryName(const char* value) { m_entryNameHasBeenSet = true; m_entryName.assign(value); }
66 
70  inline DatasetContentDeliveryRule& WithEntryName(const Aws::String& value) { SetEntryName(value); return *this;}
71 
75  inline DatasetContentDeliveryRule& WithEntryName(Aws::String&& value) { SetEntryName(std::move(value)); return *this;}
76 
80  inline DatasetContentDeliveryRule& WithEntryName(const char* value) { SetEntryName(value); return *this;}
81 
82 
86  inline const DatasetContentDeliveryDestination& GetDestination() const{ return m_destination; }
87 
91  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
92 
96  inline void SetDestination(const DatasetContentDeliveryDestination& value) { m_destinationHasBeenSet = true; m_destination = value; }
97 
101  inline void SetDestination(DatasetContentDeliveryDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
102 
106  inline DatasetContentDeliveryRule& WithDestination(const DatasetContentDeliveryDestination& value) { SetDestination(value); return *this;}
107 
111  inline DatasetContentDeliveryRule& WithDestination(DatasetContentDeliveryDestination&& value) { SetDestination(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_entryName;
116  bool m_entryNameHasBeenSet;
117 
118  DatasetContentDeliveryDestination m_destination;
119  bool m_destinationHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace IoTAnalytics
124 } // namespace Aws
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::WithDestination
DatasetContentDeliveryRule & WithDestination(const DatasetContentDeliveryDestination &value)
Definition: DatasetContentDeliveryRule.h:106
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::operator=
DatasetContentDeliveryRule & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule
Definition: DatasetContentDeliveryRule.h:34
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::SetEntryName
void SetEntryName(const char *value)
Definition: DatasetContentDeliveryRule.h:65
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::SetDestination
void SetDestination(const DatasetContentDeliveryDestination &value)
Definition: DatasetContentDeliveryRule.h:96
AWS_IOTANALYTICS_API
#define AWS_IOTANALYTICS_API
Definition: IoTAnalytics_EXPORTS.h:28
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::EntryNameHasBeenSet
bool EntryNameHasBeenSet() const
Definition: DatasetContentDeliveryRule.h:50
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::SetEntryName
void SetEntryName(Aws::String &&value)
Definition: DatasetContentDeliveryRule.h:60
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::DatasetContentDeliveryRule
DatasetContentDeliveryRule(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::WithDestination
DatasetContentDeliveryRule & WithDestination(DatasetContentDeliveryDestination &&value)
Definition: DatasetContentDeliveryRule.h:111
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::GetDestination
const DatasetContentDeliveryDestination & GetDestination() const
Definition: DatasetContentDeliveryRule.h:86
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::SetEntryName
void SetEntryName(const Aws::String &value)
Definition: DatasetContentDeliveryRule.h:55
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::WithEntryName
DatasetContentDeliveryRule & WithEntryName(const Aws::String &value)
Definition: DatasetContentDeliveryRule.h:70
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
DatasetContentDeliveryDestination.h
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::WithEntryName
DatasetContentDeliveryRule & WithEntryName(Aws::String &&value)
Definition: DatasetContentDeliveryRule.h:75
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::SetDestination
void SetDestination(DatasetContentDeliveryDestination &&value)
Definition: DatasetContentDeliveryRule.h:101
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::GetEntryName
const Aws::String & GetEntryName() const
Definition: DatasetContentDeliveryRule.h:45
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::DatasetContentDeliveryRule
DatasetContentDeliveryRule()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTAnalytics::Model::DatasetContentDeliveryDestination
Definition: DatasetContentDeliveryDestination.h:34
IoTAnalytics_EXPORTS.h
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: DatasetContentDeliveryRule.h:91
Aws::IoTAnalytics::Model::DatasetContentDeliveryRule::WithEntryName
DatasetContentDeliveryRule & WithEntryName(const char *value)
Definition: DatasetContentDeliveryRule.h:80