AWS SDK for C++  1.9.155
AWS SDK for C++
GetModelPackageGroupPolicyResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetResourcePolicy() const{ return m_resourcePolicy; }
39 
43  inline void SetResourcePolicy(const Aws::String& value) { m_resourcePolicy = value; }
44 
48  inline void SetResourcePolicy(Aws::String&& value) { m_resourcePolicy = std::move(value); }
49 
53  inline void SetResourcePolicy(const char* value) { m_resourcePolicy.assign(value); }
54 
58  inline GetModelPackageGroupPolicyResult& WithResourcePolicy(const Aws::String& value) { SetResourcePolicy(value); return *this;}
59 
63  inline GetModelPackageGroupPolicyResult& WithResourcePolicy(Aws::String&& value) { SetResourcePolicy(std::move(value)); return *this;}
64 
68  inline GetModelPackageGroupPolicyResult& WithResourcePolicy(const char* value) { SetResourcePolicy(value); return *this;}
69 
70  private:
71 
72  Aws::String m_resourcePolicy;
73  };
74 
75 } // namespace Model
76 } // namespace SageMaker
77 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::GetModelPackageGroupPolicyResult::GetModelPackageGroupPolicyResult
GetModelPackageGroupPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SageMaker_EXPORTS.h
Aws::SageMaker::Model::GetModelPackageGroupPolicyResult::SetResourcePolicy
void SetResourcePolicy(const char *value)
Definition: GetModelPackageGroupPolicyResult.h:53
Aws::SageMaker::Model::GetModelPackageGroupPolicyResult
Definition: GetModelPackageGroupPolicyResult.h:28
Aws::SageMaker::Model::GetModelPackageGroupPolicyResult::WithResourcePolicy
GetModelPackageGroupPolicyResult & WithResourcePolicy(const Aws::String &value)
Definition: GetModelPackageGroupPolicyResult.h:58
Aws::SageMaker::Model::GetModelPackageGroupPolicyResult::GetModelPackageGroupPolicyResult
GetModelPackageGroupPolicyResult()
Aws::SageMaker::Model::GetModelPackageGroupPolicyResult::WithResourcePolicy
GetModelPackageGroupPolicyResult & WithResourcePolicy(Aws::String &&value)
Definition: GetModelPackageGroupPolicyResult.h:63
Aws::SageMaker::Model::GetModelPackageGroupPolicyResult::operator=
GetModelPackageGroupPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::GetModelPackageGroupPolicyResult::GetResourcePolicy
const Aws::String & GetResourcePolicy() const
Definition: GetModelPackageGroupPolicyResult.h:38
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::GetModelPackageGroupPolicyResult::WithResourcePolicy
GetModelPackageGroupPolicyResult & WithResourcePolicy(const char *value)
Definition: GetModelPackageGroupPolicyResult.h:68
AWSString.h
Aws::SageMaker::Model::GetModelPackageGroupPolicyResult::SetResourcePolicy
void SetResourcePolicy(Aws::String &&value)
Definition: GetModelPackageGroupPolicyResult.h:48
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::GetModelPackageGroupPolicyResult::SetResourcePolicy
void SetResourcePolicy(const Aws::String &value)
Definition: GetModelPackageGroupPolicyResult.h:43