AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
UpdateActiveModelVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
9#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace LookoutEquipment {
15namespace Model {
16
20 public:
21 AWS_LOOKOUTEQUIPMENT_API UpdateActiveModelVersionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateActiveModelVersion"; }
28
29 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
30
31 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetModelName() const { return m_modelName; }
39 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
40 template <typename ModelNameT = Aws::String>
41 void SetModelName(ModelNameT&& value) {
42 m_modelNameHasBeenSet = true;
43 m_modelName = std::forward<ModelNameT>(value);
44 }
45 template <typename ModelNameT = Aws::String>
47 SetModelName(std::forward<ModelNameT>(value));
48 return *this;
49 }
51
53
57 inline long long GetModelVersion() const { return m_modelVersion; }
58 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
59 inline void SetModelVersion(long long value) {
60 m_modelVersionHasBeenSet = true;
61 m_modelVersion = value;
62 }
64 SetModelVersion(value);
65 return *this;
66 }
68 private:
69 Aws::String m_modelName;
70 bool m_modelNameHasBeenSet = false;
71
72 long long m_modelVersion{0};
73 bool m_modelVersionHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace LookoutEquipment
78} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateActiveModelVersionRequest & WithModelName(ModelNameT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
AWS_LOOKOUTEQUIPMENT_API UpdateActiveModelVersionRequest()=default
UpdateActiveModelVersionRequest & WithModelVersion(long long value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String