AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRegistryPolicyResult.h
1
6#pragma once
7#include <aws/ecr/ECR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ECR
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
40 inline void SetRegistryId(const Aws::String& value) { m_registryId = value; }
41 inline void SetRegistryId(Aws::String&& value) { m_registryId = std::move(value); }
42 inline void SetRegistryId(const char* value) { m_registryId.assign(value); }
43 inline GetRegistryPolicyResult& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
44 inline GetRegistryPolicyResult& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
45 inline GetRegistryPolicyResult& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
47
49
52 inline const Aws::String& GetPolicyText() const{ return m_policyText; }
53 inline void SetPolicyText(const Aws::String& value) { m_policyText = value; }
54 inline void SetPolicyText(Aws::String&& value) { m_policyText = std::move(value); }
55 inline void SetPolicyText(const char* value) { m_policyText.assign(value); }
56 inline GetRegistryPolicyResult& WithPolicyText(const Aws::String& value) { SetPolicyText(value); return *this;}
57 inline GetRegistryPolicyResult& WithPolicyText(Aws::String&& value) { SetPolicyText(std::move(value)); return *this;}
58 inline GetRegistryPolicyResult& WithPolicyText(const char* value) { SetPolicyText(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline GetRegistryPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline GetRegistryPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline GetRegistryPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Aws::String m_registryId;
74
75 Aws::String m_policyText;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace ECR
82} // namespace Aws
GetRegistryPolicyResult & WithPolicyText(Aws::String &&value)
GetRegistryPolicyResult & WithRegistryId(const Aws::String &value)
GetRegistryPolicyResult & WithRegistryId(Aws::String &&value)
AWS_ECR_API GetRegistryPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRegistryPolicyResult & WithRequestId(const char *value)
GetRegistryPolicyResult & WithPolicyText(const char *value)
GetRegistryPolicyResult & WithRegistryId(const char *value)
AWS_ECR_API GetRegistryPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRegistryPolicyResult & WithRequestId(const Aws::String &value)
GetRegistryPolicyResult & WithPolicyText(const Aws::String &value)
GetRegistryPolicyResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue