AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PostTimeSeriesDataPointsRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/TimeSeriesEntityType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/model/TimeSeriesDataPointFormInput.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace DataZone
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "PostTimeSeriesDataPoints"; }
35
36 AWS_DATAZONE_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
47 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
48 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline PostTimeSeriesDataPointsRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline PostTimeSeriesDataPointsRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline PostTimeSeriesDataPointsRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
53
55
59 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
60 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
61 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
62 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
63 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
65 inline PostTimeSeriesDataPointsRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
66 inline PostTimeSeriesDataPointsRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
68
70
73 inline const Aws::String& GetEntityIdentifier() const{ return m_entityIdentifier; }
74 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
75 inline void SetEntityIdentifier(const Aws::String& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = value; }
76 inline void SetEntityIdentifier(Aws::String&& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = std::move(value); }
77 inline void SetEntityIdentifier(const char* value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier.assign(value); }
79 inline PostTimeSeriesDataPointsRequest& WithEntityIdentifier(Aws::String&& value) { SetEntityIdentifier(std::move(value)); return *this;}
80 inline PostTimeSeriesDataPointsRequest& WithEntityIdentifier(const char* value) { SetEntityIdentifier(value); return *this;}
82
84
87 inline const TimeSeriesEntityType& GetEntityType() const{ return m_entityType; }
88 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
89 inline void SetEntityType(const TimeSeriesEntityType& value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
90 inline void SetEntityType(TimeSeriesEntityType&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::move(value); }
92 inline PostTimeSeriesDataPointsRequest& WithEntityType(TimeSeriesEntityType&& value) { SetEntityType(std::move(value)); return *this;}
94
96
99 inline const Aws::Vector<TimeSeriesDataPointFormInput>& GetForms() const{ return m_forms; }
100 inline bool FormsHasBeenSet() const { return m_formsHasBeenSet; }
101 inline void SetForms(const Aws::Vector<TimeSeriesDataPointFormInput>& value) { m_formsHasBeenSet = true; m_forms = value; }
102 inline void SetForms(Aws::Vector<TimeSeriesDataPointFormInput>&& value) { m_formsHasBeenSet = true; m_forms = std::move(value); }
105 inline PostTimeSeriesDataPointsRequest& AddForms(const TimeSeriesDataPointFormInput& value) { m_formsHasBeenSet = true; m_forms.push_back(value); return *this; }
106 inline PostTimeSeriesDataPointsRequest& AddForms(TimeSeriesDataPointFormInput&& value) { m_formsHasBeenSet = true; m_forms.push_back(std::move(value)); return *this; }
108 private:
109
110 Aws::String m_clientToken;
111 bool m_clientTokenHasBeenSet = false;
112
113 Aws::String m_domainIdentifier;
114 bool m_domainIdentifierHasBeenSet = false;
115
116 Aws::String m_entityIdentifier;
117 bool m_entityIdentifierHasBeenSet = false;
118
119 TimeSeriesEntityType m_entityType;
120 bool m_entityTypeHasBeenSet = false;
121
123 bool m_formsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace DataZone
128} // namespace Aws
void SetEntityType(TimeSeriesEntityType &&value)
PostTimeSeriesDataPointsRequest & WithDomainIdentifier(const char *value)
void SetDomainIdentifier(const Aws::String &value)
bool DomainIdentifierHasBeenSet() const
PostTimeSeriesDataPointsRequest & WithDomainIdentifier(const Aws::String &value)
const Aws::Vector< TimeSeriesDataPointFormInput > & GetForms() const
void SetForms(Aws::Vector< TimeSeriesDataPointFormInput > &&value)
const Aws::String & GetClientToken() const
const Aws::String & GetDomainIdentifier() const
void SetClientToken(const char *value)
PostTimeSeriesDataPointsRequest & WithEntityType(const TimeSeriesEntityType &value)
PostTimeSeriesDataPointsRequest & WithEntityIdentifier(Aws::String &&value)
bool FormsHasBeenSet() const
PostTimeSeriesDataPointsRequest & WithClientToken(const Aws::String &value)
PostTimeSeriesDataPointsRequest & WithDomainIdentifier(Aws::String &&value)
PostTimeSeriesDataPointsRequest & WithEntityIdentifier(const char *value)
PostTimeSeriesDataPointsRequest & AddForms(const TimeSeriesDataPointFormInput &value)
bool EntityTypeHasBeenSet() const
bool EntityIdentifierHasBeenSet() const
const TimeSeriesEntityType & GetEntityType() const
void SetEntityIdentifier(const Aws::String &value)
void SetForms(const Aws::Vector< TimeSeriesDataPointFormInput > &value)
void SetEntityIdentifier(Aws::String &&value)
PostTimeSeriesDataPointsRequest & WithEntityType(TimeSeriesEntityType &&value)
void SetDomainIdentifier(Aws::String &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
void SetDomainIdentifier(const char *value)
PostTimeSeriesDataPointsRequest & WithClientToken(const char *value)
bool ClientTokenHasBeenSet() const
PostTimeSeriesDataPointsRequest & WithClientToken(Aws::String &&value)
void SetEntityType(const TimeSeriesEntityType &value)
void SetClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API PostTimeSeriesDataPointsRequest()
PostTimeSeriesDataPointsRequest & WithForms(const Aws::Vector< TimeSeriesDataPointFormInput > &value)
const Aws::String & GetEntityIdentifier() const
PostTimeSeriesDataPointsRequest & WithForms(Aws::Vector< TimeSeriesDataPointFormInput > &&value)
void SetClientToken(Aws::String &&value)
PostTimeSeriesDataPointsRequest & WithEntityIdentifier(const Aws::String &value)
void SetEntityIdentifier(const char *value)
PostTimeSeriesDataPointsRequest & AddForms(TimeSeriesDataPointFormInput &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector