AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
DescribeModelVersionRequest.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 DescribeModelVersionRequest() = 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 "DescribeModelVersion"; }
28
29 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
30
31 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetModelName() const { return m_modelName; }
38 inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; }
39 template <typename ModelNameT = Aws::String>
40 void SetModelName(ModelNameT&& value) {
41 m_modelNameHasBeenSet = true;
42 m_modelName = std::forward<ModelNameT>(value);
43 }
44 template <typename ModelNameT = Aws::String>
46 SetModelName(std::forward<ModelNameT>(value));
47 return *this;
48 }
50
52
55 inline long long GetModelVersion() const { return m_modelVersion; }
56 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
57 inline void SetModelVersion(long long value) {
58 m_modelVersionHasBeenSet = true;
59 m_modelVersion = value;
60 }
62 SetModelVersion(value);
63 return *this;
64 }
66 private:
67 Aws::String m_modelName;
68 bool m_modelNameHasBeenSet = false;
69
70 long long m_modelVersion{0};
71 bool m_modelVersionHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace LookoutEquipment
76} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LOOKOUTEQUIPMENT_API DescribeModelVersionRequest()=default
DescribeModelVersionRequest & WithModelName(ModelNameT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
DescribeModelVersionRequest & WithModelVersion(long long value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String