AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFrameworkRequest.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/BackupRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/backup/model/FrameworkControl.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace Backup
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_BACKUP_API UpdateFrameworkRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateFramework"; }
34
35 AWS_BACKUP_API Aws::String SerializePayload() const override;
36
37
39
44 inline const Aws::String& GetFrameworkName() const{ return m_frameworkName; }
45 inline bool FrameworkNameHasBeenSet() const { return m_frameworkNameHasBeenSet; }
46 inline void SetFrameworkName(const Aws::String& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = value; }
47 inline void SetFrameworkName(Aws::String&& value) { m_frameworkNameHasBeenSet = true; m_frameworkName = std::move(value); }
48 inline void SetFrameworkName(const char* value) { m_frameworkNameHasBeenSet = true; m_frameworkName.assign(value); }
49 inline UpdateFrameworkRequest& WithFrameworkName(const Aws::String& value) { SetFrameworkName(value); return *this;}
50 inline UpdateFrameworkRequest& WithFrameworkName(Aws::String&& value) { SetFrameworkName(std::move(value)); return *this;}
51 inline UpdateFrameworkRequest& WithFrameworkName(const char* value) { SetFrameworkName(value); return *this;}
53
55
58 inline const Aws::String& GetFrameworkDescription() const{ return m_frameworkDescription; }
59 inline bool FrameworkDescriptionHasBeenSet() const { return m_frameworkDescriptionHasBeenSet; }
60 inline void SetFrameworkDescription(const Aws::String& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = value; }
61 inline void SetFrameworkDescription(Aws::String&& value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription = std::move(value); }
62 inline void SetFrameworkDescription(const char* value) { m_frameworkDescriptionHasBeenSet = true; m_frameworkDescription.assign(value); }
64 inline UpdateFrameworkRequest& WithFrameworkDescription(Aws::String&& value) { SetFrameworkDescription(std::move(value)); return *this;}
65 inline UpdateFrameworkRequest& WithFrameworkDescription(const char* value) { SetFrameworkDescription(value); return *this;}
67
69
73 inline const Aws::Vector<FrameworkControl>& GetFrameworkControls() const{ return m_frameworkControls; }
74 inline bool FrameworkControlsHasBeenSet() const { return m_frameworkControlsHasBeenSet; }
75 inline void SetFrameworkControls(const Aws::Vector<FrameworkControl>& value) { m_frameworkControlsHasBeenSet = true; m_frameworkControls = value; }
76 inline void SetFrameworkControls(Aws::Vector<FrameworkControl>&& value) { m_frameworkControlsHasBeenSet = true; m_frameworkControls = std::move(value); }
79 inline UpdateFrameworkRequest& AddFrameworkControls(const FrameworkControl& value) { m_frameworkControlsHasBeenSet = true; m_frameworkControls.push_back(value); return *this; }
80 inline UpdateFrameworkRequest& AddFrameworkControls(FrameworkControl&& value) { m_frameworkControlsHasBeenSet = true; m_frameworkControls.push_back(std::move(value)); return *this; }
82
84
90 inline const Aws::String& GetIdempotencyToken() const{ return m_idempotencyToken; }
91 inline bool IdempotencyTokenHasBeenSet() const { return m_idempotencyTokenHasBeenSet; }
92 inline void SetIdempotencyToken(const Aws::String& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = value; }
93 inline void SetIdempotencyToken(Aws::String&& value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken = std::move(value); }
94 inline void SetIdempotencyToken(const char* value) { m_idempotencyTokenHasBeenSet = true; m_idempotencyToken.assign(value); }
95 inline UpdateFrameworkRequest& WithIdempotencyToken(const Aws::String& value) { SetIdempotencyToken(value); return *this;}
96 inline UpdateFrameworkRequest& WithIdempotencyToken(Aws::String&& value) { SetIdempotencyToken(std::move(value)); return *this;}
97 inline UpdateFrameworkRequest& WithIdempotencyToken(const char* value) { SetIdempotencyToken(value); return *this;}
99 private:
100
101 Aws::String m_frameworkName;
102 bool m_frameworkNameHasBeenSet = false;
103
104 Aws::String m_frameworkDescription;
105 bool m_frameworkDescriptionHasBeenSet = false;
106
107 Aws::Vector<FrameworkControl> m_frameworkControls;
108 bool m_frameworkControlsHasBeenSet = false;
109
110 Aws::String m_idempotencyToken;
111 bool m_idempotencyTokenHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Backup
116} // namespace Aws
UpdateFrameworkRequest & WithIdempotencyToken(const Aws::String &value)
void SetFrameworkControls(Aws::Vector< FrameworkControl > &&value)
UpdateFrameworkRequest & AddFrameworkControls(const FrameworkControl &value)
void SetIdempotencyToken(const Aws::String &value)
UpdateFrameworkRequest & WithIdempotencyToken(const char *value)
UpdateFrameworkRequest & WithFrameworkDescription(const char *value)
AWS_BACKUP_API Aws::String SerializePayload() const override
void SetFrameworkName(const Aws::String &value)
void SetFrameworkControls(const Aws::Vector< FrameworkControl > &value)
UpdateFrameworkRequest & WithFrameworkName(const char *value)
UpdateFrameworkRequest & WithFrameworkDescription(Aws::String &&value)
UpdateFrameworkRequest & WithFrameworkDescription(const Aws::String &value)
UpdateFrameworkRequest & AddFrameworkControls(FrameworkControl &&value)
UpdateFrameworkRequest & WithIdempotencyToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetFrameworkDescription(const Aws::String &value)
const Aws::Vector< FrameworkControl > & GetFrameworkControls() const
UpdateFrameworkRequest & WithFrameworkName(Aws::String &&value)
UpdateFrameworkRequest & WithFrameworkName(const Aws::String &value)
UpdateFrameworkRequest & WithFrameworkControls(Aws::Vector< FrameworkControl > &&value)
UpdateFrameworkRequest & WithFrameworkControls(const Aws::Vector< FrameworkControl > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector