AWS SDK for C++  1.9.158
AWS SDK for C++
PromoteResourceShareCreatedFromPolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ram/RAM_EXPORTS.h>
8 
9 namespace Aws
10 {
11 template<typename RESULT_TYPE>
12 class AmazonWebServiceResult;
13 
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19 } // namespace Json
20 } // namespace Utils
21 namespace RAM
22 {
23 namespace Model
24 {
26  {
27  public:
31 
32 
37  inline bool GetReturnValue() const{ return m_returnValue; }
38 
43  inline void SetReturnValue(bool value) { m_returnValue = value; }
44 
49  inline PromoteResourceShareCreatedFromPolicyResult& WithReturnValue(bool value) { SetReturnValue(value); return *this;}
50 
51  private:
52 
53  bool m_returnValue;
54  };
55 
56 } // namespace Model
57 } // namespace RAM
58 } // namespace Aws
Aws::RAM::Model::PromoteResourceShareCreatedFromPolicyResult::GetReturnValue
bool GetReturnValue() const
Definition: PromoteResourceShareCreatedFromPolicyResult.h:37
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RAM::Model::PromoteResourceShareCreatedFromPolicyResult
Definition: PromoteResourceShareCreatedFromPolicyResult.h:26
Aws::RAM::Model::PromoteResourceShareCreatedFromPolicyResult::PromoteResourceShareCreatedFromPolicyResult
PromoteResourceShareCreatedFromPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RAM::Model::PromoteResourceShareCreatedFromPolicyResult::WithReturnValue
PromoteResourceShareCreatedFromPolicyResult & WithReturnValue(bool value)
Definition: PromoteResourceShareCreatedFromPolicyResult.h:49
Aws::RAM::Model::PromoteResourceShareCreatedFromPolicyResult::PromoteResourceShareCreatedFromPolicyResult
PromoteResourceShareCreatedFromPolicyResult()
Aws::RAM::Model::PromoteResourceShareCreatedFromPolicyResult::operator=
PromoteResourceShareCreatedFromPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RAM_EXPORTS.h
AWS_RAM_API
#define AWS_RAM_API
Definition: RAM_EXPORTS.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::RAM::Model::PromoteResourceShareCreatedFromPolicyResult::SetReturnValue
void SetReturnValue(bool value)
Definition: PromoteResourceShareCreatedFromPolicyResult.h:43
Aws
Definition: AccessManagementClient.h:15