AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
28 AWS_DATAZONE_API PostTimeSeriesDataPointsRequest() = default;
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 template<typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
48 template<typename ClientTokenT = Aws::String>
49 PostTimeSeriesDataPointsRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
51
53
57 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
58 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
59 template<typename DomainIdentifierT = Aws::String>
60 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
61 template<typename DomainIdentifierT = Aws::String>
62 PostTimeSeriesDataPointsRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
64
66
69 inline const Aws::String& GetEntityIdentifier() const { return m_entityIdentifier; }
70 inline bool EntityIdentifierHasBeenSet() const { return m_entityIdentifierHasBeenSet; }
71 template<typename EntityIdentifierT = Aws::String>
72 void SetEntityIdentifier(EntityIdentifierT&& value) { m_entityIdentifierHasBeenSet = true; m_entityIdentifier = std::forward<EntityIdentifierT>(value); }
73 template<typename EntityIdentifierT = Aws::String>
74 PostTimeSeriesDataPointsRequest& WithEntityIdentifier(EntityIdentifierT&& value) { SetEntityIdentifier(std::forward<EntityIdentifierT>(value)); return *this;}
76
78
81 inline TimeSeriesEntityType GetEntityType() const { return m_entityType; }
82 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
83 inline void SetEntityType(TimeSeriesEntityType value) { m_entityTypeHasBeenSet = true; m_entityType = value; }
86
88
91 inline const Aws::Vector<TimeSeriesDataPointFormInput>& GetForms() const { return m_forms; }
92 inline bool FormsHasBeenSet() const { return m_formsHasBeenSet; }
93 template<typename FormsT = Aws::Vector<TimeSeriesDataPointFormInput>>
94 void SetForms(FormsT&& value) { m_formsHasBeenSet = true; m_forms = std::forward<FormsT>(value); }
95 template<typename FormsT = Aws::Vector<TimeSeriesDataPointFormInput>>
96 PostTimeSeriesDataPointsRequest& WithForms(FormsT&& value) { SetForms(std::forward<FormsT>(value)); return *this;}
97 template<typename FormsT = TimeSeriesDataPointFormInput>
98 PostTimeSeriesDataPointsRequest& AddForms(FormsT&& value) { m_formsHasBeenSet = true; m_forms.emplace_back(std::forward<FormsT>(value)); return *this; }
100 private:
101
103 bool m_clientTokenHasBeenSet = true;
104
105 Aws::String m_domainIdentifier;
106 bool m_domainIdentifierHasBeenSet = false;
107
108 Aws::String m_entityIdentifier;
109 bool m_entityIdentifierHasBeenSet = false;
110
112 bool m_entityTypeHasBeenSet = false;
113
115 bool m_formsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace DataZone
120} // namespace Aws
void SetEntityType(TimeSeriesEntityType value)
bool DomainIdentifierHasBeenSet() const
const Aws::Vector< TimeSeriesDataPointFormInput > & GetForms() const
const Aws::String & GetClientToken() const
const Aws::String & GetDomainIdentifier() const
void SetForms(FormsT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
bool FormsHasBeenSet() const
bool EntityTypeHasBeenSet() const
bool EntityIdentifierHasBeenSet() const
PostTimeSeriesDataPointsRequest & WithEntityIdentifier(EntityIdentifierT &&value)
void SetEntityIdentifier(EntityIdentifierT &&value)
AWS_DATAZONE_API PostTimeSeriesDataPointsRequest()=default
AWS_DATAZONE_API Aws::String SerializePayload() const override
PostTimeSeriesDataPointsRequest & WithForms(FormsT &&value)
bool ClientTokenHasBeenSet() const
PostTimeSeriesDataPointsRequest & WithClientToken(ClientTokenT &&value)
TimeSeriesEntityType GetEntityType() const
PostTimeSeriesDataPointsRequest & WithEntityType(TimeSeriesEntityType value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetEntityIdentifier() const
PostTimeSeriesDataPointsRequest & WithDomainIdentifier(DomainIdentifierT &&value)
PostTimeSeriesDataPointsRequest & AddForms(FormsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector