AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartAssessmentFrameworkShareRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/AuditManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AuditManager
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartAssessmentFrameworkShare"; }
31
32 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetFrameworkId() const{ return m_frameworkId; }
40 inline bool FrameworkIdHasBeenSet() const { return m_frameworkIdHasBeenSet; }
41 inline void SetFrameworkId(const Aws::String& value) { m_frameworkIdHasBeenSet = true; m_frameworkId = value; }
42 inline void SetFrameworkId(Aws::String&& value) { m_frameworkIdHasBeenSet = true; m_frameworkId = std::move(value); }
43 inline void SetFrameworkId(const char* value) { m_frameworkIdHasBeenSet = true; m_frameworkId.assign(value); }
45 inline StartAssessmentFrameworkShareRequest& WithFrameworkId(Aws::String&& value) { SetFrameworkId(std::move(value)); return *this;}
46 inline StartAssessmentFrameworkShareRequest& WithFrameworkId(const char* value) { SetFrameworkId(value); return *this;}
48
50
53 inline const Aws::String& GetDestinationAccount() const{ return m_destinationAccount; }
54 inline bool DestinationAccountHasBeenSet() const { return m_destinationAccountHasBeenSet; }
55 inline void SetDestinationAccount(const Aws::String& value) { m_destinationAccountHasBeenSet = true; m_destinationAccount = value; }
56 inline void SetDestinationAccount(Aws::String&& value) { m_destinationAccountHasBeenSet = true; m_destinationAccount = std::move(value); }
57 inline void SetDestinationAccount(const char* value) { m_destinationAccountHasBeenSet = true; m_destinationAccount.assign(value); }
60 inline StartAssessmentFrameworkShareRequest& WithDestinationAccount(const char* value) { SetDestinationAccount(value); return *this;}
62
64
67 inline const Aws::String& GetDestinationRegion() const{ return m_destinationRegion; }
68 inline bool DestinationRegionHasBeenSet() const { return m_destinationRegionHasBeenSet; }
69 inline void SetDestinationRegion(const Aws::String& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = value; }
70 inline void SetDestinationRegion(Aws::String&& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = std::move(value); }
71 inline void SetDestinationRegion(const char* value) { m_destinationRegionHasBeenSet = true; m_destinationRegion.assign(value); }
74 inline StartAssessmentFrameworkShareRequest& WithDestinationRegion(const char* value) { SetDestinationRegion(value); return *this;}
76
78
81 inline const Aws::String& GetComment() const{ return m_comment; }
82 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
83 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
84 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
85 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
86 inline StartAssessmentFrameworkShareRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;}
87 inline StartAssessmentFrameworkShareRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
88 inline StartAssessmentFrameworkShareRequest& WithComment(const char* value) { SetComment(value); return *this;}
90 private:
91
92 Aws::String m_frameworkId;
93 bool m_frameworkIdHasBeenSet = false;
94
95 Aws::String m_destinationAccount;
96 bool m_destinationAccountHasBeenSet = false;
97
98 Aws::String m_destinationRegion;
99 bool m_destinationRegionHasBeenSet = false;
100
101 Aws::String m_comment;
102 bool m_commentHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace AuditManager
107} // namespace Aws
StartAssessmentFrameworkShareRequest & WithComment(const Aws::String &value)
StartAssessmentFrameworkShareRequest & WithFrameworkId(const char *value)
StartAssessmentFrameworkShareRequest & WithFrameworkId(Aws::String &&value)
StartAssessmentFrameworkShareRequest & WithDestinationRegion(Aws::String &&value)
StartAssessmentFrameworkShareRequest & WithDestinationRegion(const char *value)
StartAssessmentFrameworkShareRequest & WithDestinationAccount(const char *value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
StartAssessmentFrameworkShareRequest & WithFrameworkId(const Aws::String &value)
StartAssessmentFrameworkShareRequest & WithDestinationAccount(Aws::String &&value)
StartAssessmentFrameworkShareRequest & WithDestinationAccount(const Aws::String &value)
StartAssessmentFrameworkShareRequest & WithDestinationRegion(const Aws::String &value)
StartAssessmentFrameworkShareRequest & WithComment(Aws::String &&value)
StartAssessmentFrameworkShareRequest & WithComment(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String