AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCrlData(const Aws::Utils::ByteBuffer& value) { m_crlDataHasBeenSet = true; m_crlData = value; }
43 inline void SetCrlData(Aws::Utils::ByteBuffer&& value) { m_crlDataHasBeenSet = true; m_crlData = std::move(value); }
44 inline UpdateCrlRequest& WithCrlData(const Aws::Utils::ByteBuffer& value) { SetCrlData(value); return *this;}
45 inline UpdateCrlRequest& WithCrlData(Aws::Utils::ByteBuffer&& value) { SetCrlData(std::move(value)); return *this;}
47
49
52 inline const Aws::String& GetCrlId() const{ return m_crlId; }
53 inline bool CrlIdHasBeenSet() const { return m_crlIdHasBeenSet; }
54 inline void SetCrlId(const Aws::String& value) { m_crlIdHasBeenSet = true; m_crlId = value; }
55 inline void SetCrlId(Aws::String&& value) { m_crlIdHasBeenSet = true; m_crlId = std::move(value); }
56 inline void SetCrlId(const char* value) { m_crlIdHasBeenSet = true; m_crlId.assign(value); }
57 inline UpdateCrlRequest& WithCrlId(const Aws::String& value) { SetCrlId(value); return *this;}
58 inline UpdateCrlRequest& WithCrlId(Aws::String&& value) { SetCrlId(std::move(value)); return *this;}
59 inline UpdateCrlRequest& WithCrlId(const char* value) { SetCrlId(value); return *this;}
61
63
66 inline const Aws::String& GetName() const{ return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
69 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
70 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
71 inline UpdateCrlRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
72 inline UpdateCrlRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
73 inline UpdateCrlRequest& WithName(const char* value) { SetName(value); return *this;}
75 private:
76
77 Aws::Utils::ByteBuffer m_crlData;
78 bool m_crlDataHasBeenSet = false;
79
80 Aws::String m_crlId;
81 bool m_crlIdHasBeenSet = false;
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace RolesAnywhere
89} // namespace Aws
UpdateCrlRequest & WithName(Aws::String &&value)
void SetCrlData(const Aws::Utils::ByteBuffer &value)
void SetCrlId(const Aws::String &value)
UpdateCrlRequest & WithName(const Aws::String &value)
void SetCrlData(Aws::Utils::ByteBuffer &&value)
virtual const char * GetServiceRequestName() const override
UpdateCrlRequest & WithCrlData(const Aws::Utils::ByteBuffer &value)
UpdateCrlRequest & WithCrlId(const char *value)
const Aws::Utils::ByteBuffer & GetCrlData() const
UpdateCrlRequest & WithCrlId(Aws::String &&value)
AWS_ROLESANYWHERE_API Aws::String SerializePayload() const override
void SetName(const Aws::String &value)
UpdateCrlRequest & WithCrlData(Aws::Utils::ByteBuffer &&value)
UpdateCrlRequest & WithCrlId(const Aws::String &value)
UpdateCrlRequest & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String