AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLabelGroupRequest.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lookoutequipment/model/Tag.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace LookoutEquipment
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_LOOKOUTEQUIPMENT_API CreateLabelGroupRequest();
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 "CreateLabelGroup"; }
34
35 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
36
37 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
45 inline const Aws::String& GetLabelGroupName() const{ return m_labelGroupName; }
46 inline bool LabelGroupNameHasBeenSet() const { return m_labelGroupNameHasBeenSet; }
47 inline void SetLabelGroupName(const Aws::String& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = value; }
48 inline void SetLabelGroupName(Aws::String&& value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName = std::move(value); }
49 inline void SetLabelGroupName(const char* value) { m_labelGroupNameHasBeenSet = true; m_labelGroupName.assign(value); }
50 inline CreateLabelGroupRequest& WithLabelGroupName(const Aws::String& value) { SetLabelGroupName(value); return *this;}
51 inline CreateLabelGroupRequest& WithLabelGroupName(Aws::String&& value) { SetLabelGroupName(std::move(value)); return *this;}
52 inline CreateLabelGroupRequest& WithLabelGroupName(const char* value) { SetLabelGroupName(value); return *this;}
54
56
62 inline const Aws::Vector<Aws::String>& GetFaultCodes() const{ return m_faultCodes; }
63 inline bool FaultCodesHasBeenSet() const { return m_faultCodesHasBeenSet; }
64 inline void SetFaultCodes(const Aws::Vector<Aws::String>& value) { m_faultCodesHasBeenSet = true; m_faultCodes = value; }
65 inline void SetFaultCodes(Aws::Vector<Aws::String>&& value) { m_faultCodesHasBeenSet = true; m_faultCodes = std::move(value); }
67 inline CreateLabelGroupRequest& WithFaultCodes(Aws::Vector<Aws::String>&& value) { SetFaultCodes(std::move(value)); return *this;}
68 inline CreateLabelGroupRequest& AddFaultCodes(const Aws::String& value) { m_faultCodesHasBeenSet = true; m_faultCodes.push_back(value); return *this; }
69 inline CreateLabelGroupRequest& AddFaultCodes(Aws::String&& value) { m_faultCodesHasBeenSet = true; m_faultCodes.push_back(std::move(value)); return *this; }
70 inline CreateLabelGroupRequest& AddFaultCodes(const char* value) { m_faultCodesHasBeenSet = true; m_faultCodes.push_back(value); return *this; }
72
74
78 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
79 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
80 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
81 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
82 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
83 inline CreateLabelGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
84 inline CreateLabelGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
85 inline CreateLabelGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
87
89
94 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
95 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
96 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
97 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
98 inline CreateLabelGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
99 inline CreateLabelGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
100 inline CreateLabelGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
101 inline CreateLabelGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
103 private:
104
105 Aws::String m_labelGroupName;
106 bool m_labelGroupNameHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_faultCodes;
109 bool m_faultCodesHasBeenSet = false;
110
111 Aws::String m_clientToken;
112 bool m_clientTokenHasBeenSet = false;
113
114 Aws::Vector<Tag> m_tags;
115 bool m_tagsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace LookoutEquipment
120} // namespace Aws
CreateLabelGroupRequest & AddFaultCodes(Aws::String &&value)
CreateLabelGroupRequest & AddTags(const Tag &value)
CreateLabelGroupRequest & WithClientToken(const Aws::String &value)
CreateLabelGroupRequest & AddFaultCodes(const Aws::String &value)
CreateLabelGroupRequest & WithFaultCodes(const Aws::Vector< Aws::String > &value)
CreateLabelGroupRequest & WithLabelGroupName(Aws::String &&value)
CreateLabelGroupRequest & WithFaultCodes(Aws::Vector< Aws::String > &&value)
CreateLabelGroupRequest & WithClientToken(Aws::String &&value)
CreateLabelGroupRequest & WithTags(const Aws::Vector< Tag > &value)
CreateLabelGroupRequest & AddFaultCodes(const char *value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
CreateLabelGroupRequest & WithLabelGroupName(const Aws::String &value)
CreateLabelGroupRequest & WithLabelGroupName(const char *value)
CreateLabelGroupRequest & WithClientToken(const char *value)
const Aws::Vector< Aws::String > & GetFaultCodes() const
virtual const char * GetServiceRequestName() const override
void SetFaultCodes(const Aws::Vector< Aws::String > &value)
void SetFaultCodes(Aws::Vector< Aws::String > &&value)
CreateLabelGroupRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector