AWS SDK for C++  1.8.71
AWS SDK for C++
ListImportsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudFormation
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListImports"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
43  inline const Aws::String& GetExportName() const{ return m_exportName; }
44 
49  inline bool ExportNameHasBeenSet() const { return m_exportNameHasBeenSet; }
50 
55  inline void SetExportName(const Aws::String& value) { m_exportNameHasBeenSet = true; m_exportName = value; }
56 
61  inline void SetExportName(Aws::String&& value) { m_exportNameHasBeenSet = true; m_exportName = std::move(value); }
62 
67  inline void SetExportName(const char* value) { m_exportNameHasBeenSet = true; m_exportName.assign(value); }
68 
73  inline ListImportsRequest& WithExportName(const Aws::String& value) { SetExportName(value); return *this;}
74 
79  inline ListImportsRequest& WithExportName(Aws::String&& value) { SetExportName(std::move(value)); return *this;}
80 
85  inline ListImportsRequest& WithExportName(const char* value) { SetExportName(value); return *this;}
86 
87 
93  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
94 
100  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
101 
107  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
108 
114  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
115 
121  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
122 
128  inline ListImportsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 
135  inline ListImportsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
136 
142  inline ListImportsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
143 
144  private:
145 
146  Aws::String m_exportName;
147  bool m_exportNameHasBeenSet;
148 
149  Aws::String m_nextToken;
150  bool m_nextTokenHasBeenSet;
151  };
152 
153 } // namespace Model
154 } // namespace CloudFormation
155 } // namespace Aws
ListImportsRequest & WithExportName(Aws::String &&value)
ListImportsRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
ListImportsRequest & WithNextToken(Aws::String &&value)
ListImportsRequest & WithExportName(const Aws::String &value)
void SetExportName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CLOUDFORMATION_API
ListImportsRequest & WithExportName(const char *value)
ListImportsRequest & WithNextToken(const Aws::String &value)