AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
GetMobileSdkReleaseRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/Platform.h>
11
12#include <utility>
13
14namespace Aws {
15namespace WAFV2 {
16namespace Model {
17
21 public:
22 AWS_WAFV2_API GetMobileSdkReleaseRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetMobileSdkRelease"; }
29
30 AWS_WAFV2_API Aws::String SerializePayload() const override;
31
33
35
38 inline Platform GetPlatform() const { return m_platform; }
39 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
40 inline void SetPlatform(Platform value) {
41 m_platformHasBeenSet = true;
42 m_platform = value;
43 }
45 SetPlatform(value);
46 return *this;
47 }
49
51
55 inline const Aws::String& GetReleaseVersion() const { return m_releaseVersion; }
56 inline bool ReleaseVersionHasBeenSet() const { return m_releaseVersionHasBeenSet; }
57 template <typename ReleaseVersionT = Aws::String>
58 void SetReleaseVersion(ReleaseVersionT&& value) {
59 m_releaseVersionHasBeenSet = true;
60 m_releaseVersion = std::forward<ReleaseVersionT>(value);
61 }
62 template <typename ReleaseVersionT = Aws::String>
64 SetReleaseVersion(std::forward<ReleaseVersionT>(value));
65 return *this;
66 }
68 private:
69 Platform m_platform{Platform::NOT_SET};
70
71 Aws::String m_releaseVersion;
72 bool m_platformHasBeenSet = false;
73 bool m_releaseVersionHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace WAFV2
78} // namespace Aws
AWS_WAFV2_API Aws::String SerializePayload() const override
GetMobileSdkReleaseRequest & WithPlatform(Platform value)
virtual const char * GetServiceRequestName() const override
GetMobileSdkReleaseRequest & WithReleaseVersion(ReleaseVersionT &&value)
AWS_WAFV2_API GetMobileSdkReleaseRequest()=default
AWS_WAFV2_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