AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
24 AWS_AUDITMANAGER_API StartAssessmentFrameworkShareRequest() = default;
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 template<typename FrameworkIdT = Aws::String>
42 void SetFrameworkId(FrameworkIdT&& value) { m_frameworkIdHasBeenSet = true; m_frameworkId = std::forward<FrameworkIdT>(value); }
43 template<typename FrameworkIdT = Aws::String>
44 StartAssessmentFrameworkShareRequest& WithFrameworkId(FrameworkIdT&& value) { SetFrameworkId(std::forward<FrameworkIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDestinationAccount() const { return m_destinationAccount; }
52 inline bool DestinationAccountHasBeenSet() const { return m_destinationAccountHasBeenSet; }
53 template<typename DestinationAccountT = Aws::String>
54 void SetDestinationAccount(DestinationAccountT&& value) { m_destinationAccountHasBeenSet = true; m_destinationAccount = std::forward<DestinationAccountT>(value); }
55 template<typename DestinationAccountT = Aws::String>
56 StartAssessmentFrameworkShareRequest& WithDestinationAccount(DestinationAccountT&& value) { SetDestinationAccount(std::forward<DestinationAccountT>(value)); return *this;}
58
60
63 inline const Aws::String& GetDestinationRegion() const { return m_destinationRegion; }
64 inline bool DestinationRegionHasBeenSet() const { return m_destinationRegionHasBeenSet; }
65 template<typename DestinationRegionT = Aws::String>
66 void SetDestinationRegion(DestinationRegionT&& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = std::forward<DestinationRegionT>(value); }
67 template<typename DestinationRegionT = Aws::String>
68 StartAssessmentFrameworkShareRequest& WithDestinationRegion(DestinationRegionT&& value) { SetDestinationRegion(std::forward<DestinationRegionT>(value)); return *this;}
70
72
75 inline const Aws::String& GetComment() const { return m_comment; }
76 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
77 template<typename CommentT = Aws::String>
78 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
79 template<typename CommentT = Aws::String>
80 StartAssessmentFrameworkShareRequest& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
82 private:
83
84 Aws::String m_frameworkId;
85 bool m_frameworkIdHasBeenSet = false;
86
87 Aws::String m_destinationAccount;
88 bool m_destinationAccountHasBeenSet = false;
89
90 Aws::String m_destinationRegion;
91 bool m_destinationRegionHasBeenSet = false;
92
93 Aws::String m_comment;
94 bool m_commentHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace AuditManager
99} // namespace Aws
StartAssessmentFrameworkShareRequest & WithFrameworkId(FrameworkIdT &&value)
StartAssessmentFrameworkShareRequest & WithComment(CommentT &&value)
AWS_AUDITMANAGER_API StartAssessmentFrameworkShareRequest()=default
StartAssessmentFrameworkShareRequest & WithDestinationAccount(DestinationAccountT &&value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
StartAssessmentFrameworkShareRequest & WithDestinationRegion(DestinationRegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String