AWS SDK for C++  1.9.44
AWS SDK for C++
DescribeProjectRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Mobile
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "DescribeProject"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetProjectId() const{ return m_projectId; }
49 
53  inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
54 
58  inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
59 
63  inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
64 
68  inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
69 
73  inline DescribeProjectRequest& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
74 
78  inline DescribeProjectRequest& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
79 
83  inline DescribeProjectRequest& WithProjectId(const char* value) { SetProjectId(value); return *this;}
84 
85 
91  inline bool GetSyncFromResources() const{ return m_syncFromResources; }
92 
98  inline bool SyncFromResourcesHasBeenSet() const { return m_syncFromResourcesHasBeenSet; }
99 
105  inline void SetSyncFromResources(bool value) { m_syncFromResourcesHasBeenSet = true; m_syncFromResources = value; }
106 
112  inline DescribeProjectRequest& WithSyncFromResources(bool value) { SetSyncFromResources(value); return *this;}
113 
114  private:
115 
116  Aws::String m_projectId;
117  bool m_projectIdHasBeenSet;
118 
119  bool m_syncFromResources;
120  bool m_syncFromResourcesHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace Mobile
125 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Mobile::Model::DescribeProjectRequest::SetProjectId
void SetProjectId(Aws::String &&value)
Definition: DescribeProjectRequest.h:63
Mobile_EXPORTS.h
MobileRequest.h
Aws::Mobile::Model::DescribeProjectRequest::GetProjectId
const Aws::String & GetProjectId() const
Definition: DescribeProjectRequest.h:48
Aws::Mobile::Model::DescribeProjectRequest::WithProjectId
DescribeProjectRequest & WithProjectId(Aws::String &&value)
Definition: DescribeProjectRequest.h:78
Aws::Mobile::Model::DescribeProjectRequest::SetProjectId
void SetProjectId(const Aws::String &value)
Definition: DescribeProjectRequest.h:58
AWS_MOBILE_API
#define AWS_MOBILE_API
Definition: Mobile_EXPORTS.h:28
Aws::Mobile::Model::DescribeProjectRequest::GetSyncFromResources
bool GetSyncFromResources() const
Definition: DescribeProjectRequest.h:91
Aws::Mobile::Model::DescribeProjectRequest::DescribeProjectRequest
DescribeProjectRequest()
Aws::Mobile::MobileRequest
Definition: MobileRequest.h:18
Aws::Mobile::Model::DescribeProjectRequest::ProjectIdHasBeenSet
bool ProjectIdHasBeenSet() const
Definition: DescribeProjectRequest.h:53
Aws::Mobile::Model::DescribeProjectRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeProjectRequest.h:38
AWSString.h
Aws::Mobile::Model::DescribeProjectRequest::SyncFromResourcesHasBeenSet
bool SyncFromResourcesHasBeenSet() const
Definition: DescribeProjectRequest.h:98
Aws::Mobile::Model::DescribeProjectRequest::SetSyncFromResources
void SetSyncFromResources(bool value)
Definition: DescribeProjectRequest.h:105
Aws::Mobile::Model::DescribeProjectRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Mobile::Model::DescribeProjectRequest::SetProjectId
void SetProjectId(const char *value)
Definition: DescribeProjectRequest.h:68
Aws::Mobile::Model::DescribeProjectRequest::WithProjectId
DescribeProjectRequest & WithProjectId(const char *value)
Definition: DescribeProjectRequest.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Mobile::Model::DescribeProjectRequest
Definition: DescribeProjectRequest.h:30
Aws::Mobile::Model::DescribeProjectRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Mobile::Model::DescribeProjectRequest::WithProjectId
DescribeProjectRequest & WithProjectId(const Aws::String &value)
Definition: DescribeProjectRequest.h:73
Aws::Mobile::Model::DescribeProjectRequest::WithSyncFromResources
DescribeProjectRequest & WithSyncFromResources(bool value)
Definition: DescribeProjectRequest.h:112