AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetMobileSdkReleaseRequest.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/model/Platform.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WAFV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WAFV2_API GetMobileSdkReleaseRequest() = 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 "GetMobileSdkRelease"; }
32
33 AWS_WAFV2_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline Platform GetPlatform() const { return m_platform; }
43 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
44 inline void SetPlatform(Platform value) { m_platformHasBeenSet = true; m_platform = value; }
45 inline GetMobileSdkReleaseRequest& WithPlatform(Platform value) { SetPlatform(value); return *this;}
47
49
53 inline const Aws::String& GetReleaseVersion() const { return m_releaseVersion; }
54 inline bool ReleaseVersionHasBeenSet() const { return m_releaseVersionHasBeenSet; }
55 template<typename ReleaseVersionT = Aws::String>
56 void SetReleaseVersion(ReleaseVersionT&& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = std::forward<ReleaseVersionT>(value); }
57 template<typename ReleaseVersionT = Aws::String>
58 GetMobileSdkReleaseRequest& WithReleaseVersion(ReleaseVersionT&& value) { SetReleaseVersion(std::forward<ReleaseVersionT>(value)); return *this;}
60 private:
61
62 Platform m_platform{Platform::NOT_SET};
63 bool m_platformHasBeenSet = false;
64
65 Aws::String m_releaseVersion;
66 bool m_releaseVersionHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace WAFV2
71} // 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