AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEnrollmentStatusRequest.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/CostOptimizationHubRequest.h>
9#include <aws/cost-optimization-hub/model/EnrollmentStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CostOptimizationHub
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_COSTOPTIMIZATIONHUB_API UpdateEnrollmentStatusRequest();
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 "UpdateEnrollmentStatus"; }
31
32 AWS_COSTOPTIMIZATIONHUB_API Aws::String SerializePayload() const override;
33
34 AWS_COSTOPTIMIZATIONHUB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const EnrollmentStatus& GetStatus() const{ return m_status; }
42 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
43 inline void SetStatus(const EnrollmentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
44 inline void SetStatus(EnrollmentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
45 inline UpdateEnrollmentStatusRequest& WithStatus(const EnrollmentStatus& value) { SetStatus(value); return *this;}
46 inline UpdateEnrollmentStatusRequest& WithStatus(EnrollmentStatus&& value) { SetStatus(std::move(value)); return *this;}
48
50
54 inline bool GetIncludeMemberAccounts() const{ return m_includeMemberAccounts; }
55 inline bool IncludeMemberAccountsHasBeenSet() const { return m_includeMemberAccountsHasBeenSet; }
56 inline void SetIncludeMemberAccounts(bool value) { m_includeMemberAccountsHasBeenSet = true; m_includeMemberAccounts = value; }
59 private:
60
61 EnrollmentStatus m_status;
62 bool m_statusHasBeenSet = false;
63
64 bool m_includeMemberAccounts;
65 bool m_includeMemberAccountsHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace CostOptimizationHub
70} // namespace Aws
UpdateEnrollmentStatusRequest & WithStatus(EnrollmentStatus &&value)
UpdateEnrollmentStatusRequest & WithStatus(const EnrollmentStatus &value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COSTOPTIMIZATIONHUB_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String