AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateDimensionRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoT
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOT_API UpdateDimensionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateDimension"; }
32
33 AWS_IOT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template<typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
45 template<typename NameT = Aws::String>
46 UpdateDimensionRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
48
50
55 inline const Aws::Vector<Aws::String>& GetStringValues() const { return m_stringValues; }
56 inline bool StringValuesHasBeenSet() const { return m_stringValuesHasBeenSet; }
57 template<typename StringValuesT = Aws::Vector<Aws::String>>
58 void SetStringValues(StringValuesT&& value) { m_stringValuesHasBeenSet = true; m_stringValues = std::forward<StringValuesT>(value); }
59 template<typename StringValuesT = Aws::Vector<Aws::String>>
60 UpdateDimensionRequest& WithStringValues(StringValuesT&& value) { SetStringValues(std::forward<StringValuesT>(value)); return *this;}
61 template<typename StringValuesT = Aws::String>
62 UpdateDimensionRequest& AddStringValues(StringValuesT&& value) { m_stringValuesHasBeenSet = true; m_stringValues.emplace_back(std::forward<StringValuesT>(value)); return *this; }
64 private:
65
66 Aws::String m_name;
67 bool m_nameHasBeenSet = false;
68
69 Aws::Vector<Aws::String> m_stringValues;
70 bool m_stringValuesHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoT
75} // namespace Aws
AWS_IOT_API Aws::String SerializePayload() const override
UpdateDimensionRequest & AddStringValues(StringValuesT &&value)
AWS_IOT_API UpdateDimensionRequest()=default
const Aws::Vector< Aws::String > & GetStringValues() const
virtual const char * GetServiceRequestName() const override
UpdateDimensionRequest & WithName(NameT &&value)
UpdateDimensionRequest & WithStringValues(StringValuesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector