AWS SDK for C++  1.9.66
AWS SDK for C++
CreateDataflowEndpointGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace GroundStation
18 {
19 namespace Model
20 {
21 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "CreateDataflowEndpointGroup"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::Vector<EndpointDetails>& GetEndpointDetails() const{ return m_endpointDetails; }
45 
49  inline bool EndpointDetailsHasBeenSet() const { return m_endpointDetailsHasBeenSet; }
50 
54  inline void SetEndpointDetails(const Aws::Vector<EndpointDetails>& value) { m_endpointDetailsHasBeenSet = true; m_endpointDetails = value; }
55 
59  inline void SetEndpointDetails(Aws::Vector<EndpointDetails>&& value) { m_endpointDetailsHasBeenSet = true; m_endpointDetails = std::move(value); }
60 
64  inline CreateDataflowEndpointGroupRequest& WithEndpointDetails(const Aws::Vector<EndpointDetails>& value) { SetEndpointDetails(value); return *this;}
65 
69  inline CreateDataflowEndpointGroupRequest& WithEndpointDetails(Aws::Vector<EndpointDetails>&& value) { SetEndpointDetails(std::move(value)); return *this;}
70 
74  inline CreateDataflowEndpointGroupRequest& AddEndpointDetails(const EndpointDetails& value) { m_endpointDetailsHasBeenSet = true; m_endpointDetails.push_back(value); return *this; }
75 
79  inline CreateDataflowEndpointGroupRequest& AddEndpointDetails(EndpointDetails&& value) { m_endpointDetailsHasBeenSet = true; m_endpointDetails.push_back(std::move(value)); return *this; }
80 
81 
85  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
86 
90  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
91 
95  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
96 
100  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
101 
105  inline CreateDataflowEndpointGroupRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
106 
110  inline CreateDataflowEndpointGroupRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
111 
115  inline CreateDataflowEndpointGroupRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 
120  inline CreateDataflowEndpointGroupRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
121 
125  inline CreateDataflowEndpointGroupRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
126 
130  inline CreateDataflowEndpointGroupRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
131 
135  inline CreateDataflowEndpointGroupRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
136 
140  inline CreateDataflowEndpointGroupRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
141 
145  inline CreateDataflowEndpointGroupRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
146 
147  private:
148 
149  Aws::Vector<EndpointDetails> m_endpointDetails;
150  bool m_endpointDetailsHasBeenSet;
151 
153  bool m_tagsHasBeenSet;
154  };
155 
156 } // namespace Model
157 } // namespace GroundStation
158 } // namespace Aws
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::WithTags
CreateDataflowEndpointGroupRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDataflowEndpointGroupRequest.h:110
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::SetEndpointDetails
void SetEndpointDetails(Aws::Vector< EndpointDetails > &&value)
Definition: CreateDataflowEndpointGroupRequest.h:59
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::AddTags
CreateDataflowEndpointGroupRequest & AddTags(const char *key, const char *value)
Definition: CreateDataflowEndpointGroupRequest.h:145
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest
Definition: CreateDataflowEndpointGroupRequest.h:28
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::CreateDataflowEndpointGroupRequest
CreateDataflowEndpointGroupRequest()
Aws::GroundStation::GroundStationRequest
Definition: GroundStationRequest.h:17
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDataflowEndpointGroupRequest.h:36
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::WithTags
CreateDataflowEndpointGroupRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDataflowEndpointGroupRequest.h:105
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::AddTags
CreateDataflowEndpointGroupRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateDataflowEndpointGroupRequest.h:120
AWSVector.h
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::AddTags
CreateDataflowEndpointGroupRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateDataflowEndpointGroupRequest.h:130
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDataflowEndpointGroupRequest.h:100
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::WithEndpointDetails
CreateDataflowEndpointGroupRequest & WithEndpointDetails(Aws::Vector< EndpointDetails > &&value)
Definition: CreateDataflowEndpointGroupRequest.h:69
GroundStationRequest.h
EndpointDetails.h
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::GetEndpointDetails
const Aws::Vector< EndpointDetails > & GetEndpointDetails() const
Definition: CreateDataflowEndpointGroupRequest.h:44
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::AddTags
CreateDataflowEndpointGroupRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateDataflowEndpointGroupRequest.h:125
GroundStation_EXPORTS.h
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateDataflowEndpointGroupRequest.h:85
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
AWSString.h
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::AddEndpointDetails
CreateDataflowEndpointGroupRequest & AddEndpointDetails(const EndpointDetails &value)
Definition: CreateDataflowEndpointGroupRequest.h:74
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::SetEndpointDetails
void SetEndpointDetails(const Aws::Vector< EndpointDetails > &value)
Definition: CreateDataflowEndpointGroupRequest.h:54
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDataflowEndpointGroupRequest.h:95
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::AddTags
CreateDataflowEndpointGroupRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateDataflowEndpointGroupRequest.h:140
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::WithEndpointDetails
CreateDataflowEndpointGroupRequest & WithEndpointDetails(const Aws::Vector< EndpointDetails > &value)
Definition: CreateDataflowEndpointGroupRequest.h:64
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::AddTags
CreateDataflowEndpointGroupRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateDataflowEndpointGroupRequest.h:135
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::AddEndpointDetails
CreateDataflowEndpointGroupRequest & AddEndpointDetails(EndpointDetails &&value)
Definition: CreateDataflowEndpointGroupRequest.h:79
AWSMap.h
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDataflowEndpointGroupRequest.h:90
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::GroundStation::Model::EndpointDetails
Definition: EndpointDetails.h:33
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::AddTags
CreateDataflowEndpointGroupRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateDataflowEndpointGroupRequest.h:115
Aws::GroundStation::Model::CreateDataflowEndpointGroupRequest::EndpointDetailsHasBeenSet
bool EndpointDetailsHasBeenSet() const
Definition: CreateDataflowEndpointGroupRequest.h:49