AWS SDK for C++

AWS SDK for C++ Version 1.11.812

Loading...
Searching...
No Matches
GetDepotUrlRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/evs/EVSRequest.h>
9#include <aws/evs/EVS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace EVS {
15namespace Model {
16
20 public:
21 AWS_EVS_API GetDepotUrlRequest() = 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 "GetDepotUrl"; }
28
29 AWS_EVS_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
38 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
39 template <typename EnvironmentIdT = Aws::String>
40 void SetEnvironmentId(EnvironmentIdT&& value) {
41 m_environmentIdHasBeenSet = true;
42 m_environmentId = std::forward<EnvironmentIdT>(value);
43 }
44 template <typename EnvironmentIdT = Aws::String>
45 GetDepotUrlRequest& WithEnvironmentId(EnvironmentIdT&& value) {
46 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
47 return *this;
48 }
50
52
57 inline bool GetRotate() const { return m_rotate; }
58 inline bool RotateHasBeenSet() const { return m_rotateHasBeenSet; }
59 inline void SetRotate(bool value) {
60 m_rotateHasBeenSet = true;
61 m_rotate = value;
62 }
63 inline GetDepotUrlRequest& WithRotate(bool value) {
64 SetRotate(value);
65 return *this;
66 }
68 private:
69 Aws::String m_environmentId;
70
71 bool m_rotate{false};
72 bool m_environmentIdHasBeenSet = false;
73 bool m_rotateHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace EVS
78} // namespace Aws
AWS_EVS_API Aws::String SerializePayload() const override
GetDepotUrlRequest & WithRotate(bool value)
AWS_EVS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetDepotUrlRequest & WithEnvironmentId(EnvironmentIdT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
const Aws::String & GetEnvironmentId() const
virtual const char * GetServiceRequestName() const override
AWS_EVS_API GetDepotUrlRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String