AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GenerateMobileSdkReleaseUrlRequest.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:
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 "GenerateMobileSdkReleaseUrl"; }
32
33 AWS_WAFV2_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Platform& GetPlatform() const{ return m_platform; }
43 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
44 inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; }
45 inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
46 inline GenerateMobileSdkReleaseUrlRequest& WithPlatform(const Platform& value) { SetPlatform(value); return *this;}
47 inline GenerateMobileSdkReleaseUrlRequest& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;}
49
51
55 inline const Aws::String& GetReleaseVersion() const{ return m_releaseVersion; }
56 inline bool ReleaseVersionHasBeenSet() const { return m_releaseVersionHasBeenSet; }
57 inline void SetReleaseVersion(const Aws::String& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = value; }
58 inline void SetReleaseVersion(Aws::String&& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = std::move(value); }
59 inline void SetReleaseVersion(const char* value) { m_releaseVersionHasBeenSet = true; m_releaseVersion.assign(value); }
61 inline GenerateMobileSdkReleaseUrlRequest& WithReleaseVersion(Aws::String&& value) { SetReleaseVersion(std::move(value)); return *this;}
62 inline GenerateMobileSdkReleaseUrlRequest& WithReleaseVersion(const char* value) { SetReleaseVersion(value); return *this;}
64 private:
65
66 Platform m_platform;
67 bool m_platformHasBeenSet = false;
68
69 Aws::String m_releaseVersion;
70 bool m_releaseVersionHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace WAFV2
75} // namespace Aws
AWS_WAFV2_API Aws::String SerializePayload() const override
GenerateMobileSdkReleaseUrlRequest & WithPlatform(const Platform &value)
GenerateMobileSdkReleaseUrlRequest & WithReleaseVersion(Aws::String &&value)
GenerateMobileSdkReleaseUrlRequest & WithReleaseVersion(const Aws::String &value)
GenerateMobileSdkReleaseUrlRequest & WithPlatform(Platform &&value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GenerateMobileSdkReleaseUrlRequest & WithReleaseVersion(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String