AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDatastoreRequest.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/IoTAnalyticsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotanalytics/model/RetentionPeriod.h>
11#include <aws/iotanalytics/model/DatastoreStorage.h>
12#include <aws/iotanalytics/model/FileFormatConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace IoTAnalytics
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_IOTANALYTICS_API UpdateDatastoreRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateDatastore"; }
34
35 AWS_IOTANALYTICS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; }
43 inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
44 inline void SetDatastoreName(const Aws::String& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = value; }
45 inline void SetDatastoreName(Aws::String&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::move(value); }
46 inline void SetDatastoreName(const char* value) { m_datastoreNameHasBeenSet = true; m_datastoreName.assign(value); }
47 inline UpdateDatastoreRequest& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;}
48 inline UpdateDatastoreRequest& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;}
49 inline UpdateDatastoreRequest& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;}
51
53
58 inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
59 inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
60 inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
61 inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::move(value); }
63 inline UpdateDatastoreRequest& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
65
67
74 inline const DatastoreStorage& GetDatastoreStorage() const{ return m_datastoreStorage; }
75 inline bool DatastoreStorageHasBeenSet() const { return m_datastoreStorageHasBeenSet; }
76 inline void SetDatastoreStorage(const DatastoreStorage& value) { m_datastoreStorageHasBeenSet = true; m_datastoreStorage = value; }
77 inline void SetDatastoreStorage(DatastoreStorage&& value) { m_datastoreStorageHasBeenSet = true; m_datastoreStorage = std::move(value); }
79 inline UpdateDatastoreRequest& WithDatastoreStorage(DatastoreStorage&& value) { SetDatastoreStorage(std::move(value)); return *this;}
81
83
89 inline const FileFormatConfiguration& GetFileFormatConfiguration() const{ return m_fileFormatConfiguration; }
90 inline bool FileFormatConfigurationHasBeenSet() const { return m_fileFormatConfigurationHasBeenSet; }
91 inline void SetFileFormatConfiguration(const FileFormatConfiguration& value) { m_fileFormatConfigurationHasBeenSet = true; m_fileFormatConfiguration = value; }
92 inline void SetFileFormatConfiguration(FileFormatConfiguration&& value) { m_fileFormatConfigurationHasBeenSet = true; m_fileFormatConfiguration = std::move(value); }
96 private:
97
98 Aws::String m_datastoreName;
99 bool m_datastoreNameHasBeenSet = false;
100
101 RetentionPeriod m_retentionPeriod;
102 bool m_retentionPeriodHasBeenSet = false;
103
104 DatastoreStorage m_datastoreStorage;
105 bool m_datastoreStorageHasBeenSet = false;
106
107 FileFormatConfiguration m_fileFormatConfiguration;
108 bool m_fileFormatConfigurationHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace IoTAnalytics
113} // namespace Aws
UpdateDatastoreRequest & WithDatastoreStorage(DatastoreStorage &&value)
UpdateDatastoreRequest & WithDatastoreName(Aws::String &&value)
void SetFileFormatConfiguration(const FileFormatConfiguration &value)
UpdateDatastoreRequest & WithDatastoreName(const char *value)
UpdateDatastoreRequest & WithRetentionPeriod(const RetentionPeriod &value)
UpdateDatastoreRequest & WithFileFormatConfiguration(FileFormatConfiguration &&value)
virtual const char * GetServiceRequestName() const override
UpdateDatastoreRequest & WithRetentionPeriod(RetentionPeriod &&value)
void SetRetentionPeriod(const RetentionPeriod &value)
const FileFormatConfiguration & GetFileFormatConfiguration() const
UpdateDatastoreRequest & WithDatastoreName(const Aws::String &value)
void SetFileFormatConfiguration(FileFormatConfiguration &&value)
UpdateDatastoreRequest & WithDatastoreStorage(const DatastoreStorage &value)
UpdateDatastoreRequest & WithFileFormatConfiguration(const FileFormatConfiguration &value)
AWS_IOTANALYTICS_API Aws::String SerializePayload() const override
void SetDatastoreStorage(const DatastoreStorage &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String