AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
44 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
45 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
46 inline UpdateDimensionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline UpdateDimensionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline UpdateDimensionRequest& WithName(const char* value) { SetName(value); return *this;}
50
52
57 inline const Aws::Vector<Aws::String>& GetStringValues() const{ return m_stringValues; }
58 inline bool StringValuesHasBeenSet() const { return m_stringValuesHasBeenSet; }
59 inline void SetStringValues(const Aws::Vector<Aws::String>& value) { m_stringValuesHasBeenSet = true; m_stringValues = value; }
60 inline void SetStringValues(Aws::Vector<Aws::String>&& value) { m_stringValuesHasBeenSet = true; m_stringValues = std::move(value); }
62 inline UpdateDimensionRequest& WithStringValues(Aws::Vector<Aws::String>&& value) { SetStringValues(std::move(value)); return *this;}
63 inline UpdateDimensionRequest& AddStringValues(const Aws::String& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; }
64 inline UpdateDimensionRequest& AddStringValues(Aws::String&& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(std::move(value)); return *this; }
65 inline UpdateDimensionRequest& AddStringValues(const char* value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; }
67 private:
68
69 Aws::String m_name;
70 bool m_nameHasBeenSet = false;
71
72 Aws::Vector<Aws::String> m_stringValues;
73 bool m_stringValuesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoT
78} // namespace Aws
UpdateDimensionRequest & WithName(const Aws::String &value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetStringValues(Aws::Vector< Aws::String > &&value)
UpdateDimensionRequest & WithName(Aws::String &&value)
UpdateDimensionRequest & AddStringValues(const char *value)
void SetStringValues(const Aws::Vector< Aws::String > &value)
UpdateDimensionRequest & WithStringValues(Aws::Vector< Aws::String > &&value)
UpdateDimensionRequest & AddStringValues(const Aws::String &value)
UpdateDimensionRequest & AddStringValues(Aws::String &&value)
const Aws::Vector< Aws::String > & GetStringValues() const
UpdateDimensionRequest & WithName(const char *value)
UpdateDimensionRequest & WithStringValues(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector