AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTemplatePermissionsResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/ResourcePermission.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QUICKSIGHT_API UpdateTemplatePermissionsResult();
35
36
38
41 inline const Aws::String& GetTemplateId() const{ return m_templateId; }
42 inline void SetTemplateId(const Aws::String& value) { m_templateId = value; }
43 inline void SetTemplateId(Aws::String&& value) { m_templateId = std::move(value); }
44 inline void SetTemplateId(const char* value) { m_templateId.assign(value); }
45 inline UpdateTemplatePermissionsResult& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
46 inline UpdateTemplatePermissionsResult& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
47 inline UpdateTemplatePermissionsResult& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
49
51
54 inline const Aws::String& GetTemplateArn() const{ return m_templateArn; }
55 inline void SetTemplateArn(const Aws::String& value) { m_templateArn = value; }
56 inline void SetTemplateArn(Aws::String&& value) { m_templateArn = std::move(value); }
57 inline void SetTemplateArn(const char* value) { m_templateArn.assign(value); }
58 inline UpdateTemplatePermissionsResult& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
59 inline UpdateTemplatePermissionsResult& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
60 inline UpdateTemplatePermissionsResult& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
62
64
67 inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
68 inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
69 inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
72 inline UpdateTemplatePermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
73 inline UpdateTemplatePermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline UpdateTemplatePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline UpdateTemplatePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline UpdateTemplatePermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86
88
91 inline int GetStatus() const{ return m_status; }
92 inline void SetStatus(int value) { m_status = value; }
93 inline UpdateTemplatePermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
95 private:
96
97 Aws::String m_templateId;
98
99 Aws::String m_templateArn;
100
102
103 Aws::String m_requestId;
104
105 int m_status;
106 };
107
108} // namespace Model
109} // namespace QuickSight
110} // namespace Aws
UpdateTemplatePermissionsResult & WithTemplateArn(Aws::String &&value)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
AWS_QUICKSIGHT_API UpdateTemplatePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTemplatePermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
UpdateTemplatePermissionsResult & WithRequestId(const char *value)
UpdateTemplatePermissionsResult & WithTemplateId(const Aws::String &value)
UpdateTemplatePermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
AWS_QUICKSIGHT_API UpdateTemplatePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTemplatePermissionsResult & WithTemplateArn(const char *value)
UpdateTemplatePermissionsResult & WithTemplateArn(const Aws::String &value)
UpdateTemplatePermissionsResult & AddPermissions(ResourcePermission &&value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
UpdateTemplatePermissionsResult & WithTemplateId(const char *value)
UpdateTemplatePermissionsResult & WithRequestId(Aws::String &&value)
UpdateTemplatePermissionsResult & AddPermissions(const ResourcePermission &value)
UpdateTemplatePermissionsResult & WithRequestId(const Aws::String &value)
UpdateTemplatePermissionsResult & WithTemplateId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue