AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateCrlRequest.h
1
6#pragma once
7#include <aws/rolesanywhere/RolesAnywhere_EXPORTS.h>
8#include <aws/rolesanywhere/RolesAnywhereRequest.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace RolesAnywhere
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ROLESANYWHERE_API UpdateCrlRequest() = 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 "UpdateCrl"; }
32
33 AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::Utils::ByteBuffer& GetCrlData() const { return m_crlData; }
41 inline bool CrlDataHasBeenSet() const { return m_crlDataHasBeenSet; }
42 template<typename CrlDataT = Aws::Utils::ByteBuffer>
43 void SetCrlData(CrlDataT&& value) { m_crlDataHasBeenSet = true; m_crlData = std::forward<CrlDataT>(value); }
44 template<typename CrlDataT = Aws::Utils::ByteBuffer>
45 UpdateCrlRequest& WithCrlData(CrlDataT&& value) { SetCrlData(std::forward<CrlDataT>(value)); return *this;}
47
49
52 inline const Aws::String& GetCrlId() const { return m_crlId; }
53 inline bool CrlIdHasBeenSet() const { return m_crlIdHasBeenSet; }
54 template<typename CrlIdT = Aws::String>
55 void SetCrlId(CrlIdT&& value) { m_crlIdHasBeenSet = true; m_crlId = std::forward<CrlIdT>(value); }
56 template<typename CrlIdT = Aws::String>
57 UpdateCrlRequest& WithCrlId(CrlIdT&& value) { SetCrlId(std::forward<CrlIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetName() const { return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 template<typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
68 template<typename NameT = Aws::String>
69 UpdateCrlRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
71 private:
72
73 Aws::Utils::ByteBuffer m_crlData{};
74 bool m_crlDataHasBeenSet = false;
75
76 Aws::String m_crlId;
77 bool m_crlIdHasBeenSet = false;
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace RolesAnywhere
85} // namespace Aws
UpdateCrlRequest & WithCrlId(CrlIdT &&value)
UpdateCrlRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Utils::ByteBuffer & GetCrlData() const
AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override
UpdateCrlRequest & WithCrlData(CrlDataT &&value)
AWS_ROLESANYWHERE_API UpdateCrlRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String